This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControlEvents Interface > ISymbologyControlEvents.OnItemSelected Event (ArcObjects .NET 10.4 SDK) |
Fires when an item is selected in the SymbologyControl.
[Visual Basic .NET] Public Event OnItemSelected As OnItemSelectedEventHandler
[C#] public event OnItemSelectedEventHandler OnItemSelected
[C++]
HRESULT OnItemSelected(
VARIANT StyleGalleryItem
);
[C++]
Parameters StyleGalleryItem [in] StyleGalleryItem is a parameter of type VARIANT
The OnItemSelected event is triggered whenever an item is selected within a SymbologyStyleClass, either interactivly by the end user clicking on an item in the SymbologyControl or programmatically when using the ISymbologyStyleClass::SelectItem method on the current ISymbologyControl::StyleClass.