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


ISymbologyControlEvents.OnItemSelected Event (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

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