This document is archived and information here might be outdated.  Recommended version.


ISymbologyControl.ShowContextMenu Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControl Interface > ISymbologyControl.ShowContextMenu Property
ArcGIS Developer Help

ISymbologyControl.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

ISymbologyControl Interface