CommandBar.Context Property

Definition

Returns or sets a string that determines where a command bar will be saved.

public:
 property System::String ^ Context { System::String ^ get(); void set(System::String ^ value); };
public string Context { get; set; }
member this.Context : string with get, set
Public Property Context As String

Property Value

Remarks

The returned string is defined and interpreted by the application.

You can set the Context property only for custom command bars. This property will fail if the application doesn't recognize the context string, or if the application doesn't support changing context strings programmatically.

Applies to