This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControlDefault Interface > ISymbologyControlDefault.ShowContextMenu Property (ArcObjects .NET 10.4 SDK) |
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(
);
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.