ArcObjects Library Reference (Controls)  

ISymbologyControlEvents.OnItemSelected Event

Fires when an item is selected in the SymbologyControl.

[Visual Basic 6.0]
Event OnItemSelected(
    ByVal StyleGalleryItem As Variant _
) As Empty
[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