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


ISymbologyStyleClass.GetSelectedItem Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyStyleClass Interface > ISymbologyStyleClass.GetSelectedItem Method
ArcGIS Developer Help

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(
void
);

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