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


ISymbologyStyleClass.GetSelectedItem Method (ArcObjects .NET 10.4 SDK)
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