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


ISymbologyControlDefault.StyleClass Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

ISymbologyControlDefault.StyleClass Property

The style class used by the SymbologyControl.

[Visual Basic .NET]
Public Property StyleClass As esriSymbologyStyleClass
[C#]
public esriSymbologyStyleClass StyleClass {get; set;}
[C++]
HRESULT get_StyleClass(
void
);
[C++]
HRESULT put_StyleClass(
);

Product Availability

Available with ArcGIS Engine.

Description

The SymbologyStyleClass currently displayed in the SymbologyControl. By default marker symbols are displayed.

The end user can set the StyleClass by interacting with the 'Style Class' context menu. The end user can display the 'Style Class' context menu by right clicking on the SymbologyControl when ShowContextMenu is true.

The OnStyleClassChanged event will fire when the StyleClass is set.

Errors Returned

1005 800a03ed: The value of a parameter, which is an enumerated constant is out of the range of required values.


1083 800a043b: The specified style class is supported only if ArcGIS for Desktop is installed.

Remarks

The following style classes are only supported with an ArcGIS for Desktop installation:


 ~ esriStyleClassReferenceSystems
 ~ esriStyleClassMaplexLabels
 ~ esriStyleClassVectorizationSettings
 ~ esriStyleClassHatches

See Also

ISymbologyControlDefault Interface