ArcObjects Library Reference (Controls)  

ISymbologyControlDefault.ShowContextMenu Property

Indicates if the SymbologyControl displays a context menu.

[Visual Basic .NET]
Public Property ShowContextMenu As Boolean
[C#]
public bool ShowContextMenu {get; set;}
[C++]
HRESULT get_ShowContextMenu(
void
);
[C++]
HRESULT put_ShowContextMenu(
);

Product Availability

Available with ArcGIS Engine.

Description

Determines whether the 'Style Class' context menu will popup when the user right clicks on the control. This property is false by default.

The OnStyleClassChanged event will fire if the user interactively sets the StyleClass property using the 'Style Class' context menu.

See Also

ISymbologyControlDefault Interface