ArcObjects Library Reference (Controls)  

ISymbologyStyleClass.GetSelectedItem Method

Returns the selected item in the SymbologyStyleClass.

[Visual Basic .NET]
Public Function GetSelectedItem ( _
) As IStyleGalleryItem
[C#]
public IStyleGalleryItem GetSelectedItem (
);
[C++]
HRESULT GetSelectedItem(
  IStyleGalleryItem** StyleItem
);
[C++]

Parameters

StyleItem [out, retval]

  StyleItem is a parameter of type IStyleGalleryItem

Product Availability

Available with ArcGIS Engine.

Description

Returns the selected item in the SymbologyStyleClass. If no item is selected Nothing is returned.

An item can be selected programmatically using the SelectItem method, or interactively by the end user clicking on an item in the SymbologyControl.

See Also

ISymbologyStyleClass Interface