ArcObjects Library Reference (Controls)  

ISymbologyControlEvents.OnStyleClassChanged Event

Fires when the style class changes.

[Visual Basic .NET]
Public Event OnStyleClassChanged As OnStyleClassChangedEventHandler
[C#]
public event OnStyleClassChangedEventHandler OnStyleClassChanged
[C++]
HRESULT OnStyleClassChanged(
  VARIANT SymbologyStyleClass
);
[C++]

Parameters

SymbologyStyleClass [in]   SymbologyStyleClass is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine.

Description

The OnStyleClassChanged event is triggered whenever the SymbologyStyleClass displayed by the control is changed, either by programmatically setting the ISymbologyControl::StyleClass or by the end user interacting with the 'Style Class' context menu.

The end user can display the 'Style Class' context menu by right clicking on the SymbologyControl when the control has focus when ISymbologyControl::ShowContextMenu is true.

See Also

ISymbologyControlEvents Interface