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


ISymbologyControlEvents.OnItemSelected Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControlEvents Interface > ISymbologyControlEvents.OnItemSelected Event
ArcGIS Developer Help

ISymbologyControlEvents.OnItemSelected Event

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

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

ISymbologyControlEvents Interface