This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControl Interface > ISymbologyControl.ShowContextMenu Property (ArcObjects .NET 10.5 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(
VARIANT_BOOL* Show
);
[C++]
HRESULT put_ShowContextMenu(
VARIANT_BOOL Show
);
[C++]
Parameters Show [out, retval] Show is a parameter of type VARIANT_BOOL Show [in] Show is a parameter of type VARIANT_BOOL
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.