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


ISymbologyControl.ShowContextMenu Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

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(
  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

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