ArcGIS Runtime SDK for WPF - Library Reference
Classes Property
See Also 
ESRI.ArcGIS.Client Namespace > ClassBreaksRenderer Class : Classes Property

Gets the collection of ClassBreakInfo objects which define each group of numerical observations being symbolized in a Layer.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Classes As ObservableCollection(Of ClassBreakInfo)
C# 
public ObservableCollection<ClassBreakInfo> Classes {get;}

Remarks

A ClassBreaksRenderer should have 2 or more ClassBreakInfo Classes (meaning classification or grouping) to delineate the different symbology and class break information. Otherwise use a SimpleRenderer if just one type of symbology needs to be rendered.

When a ClassBreaksRenderer object is created the ObservableCollection (Of ClassBreakInfo) object is also created that is accessable from the ClassBreaksRenderer.Classes Property. Although the Classes Property is ReadOnly, meaning you can only get the ObservableCollection (Of ClassBreakInfo) object, you can use its Members to like: Add, Clear, Remove, etc. to define how the ClassBreaksRenderer behaves.

To see a full example of how to set and use the Classes Property in a ClassBreaksRenderer review the ClassBreaksRenderer Class documentation.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.