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 > ISymbologyControlEvents Interface > ISymbologyControlEvents.OnStyleClassChanged Event (ArcObjects .NET 10.5 SDK) |
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
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.