Show / Hide Table of Contents

Class ClassBreak

A class break object used to categorize a group of values that fall within a range of values. It represents a unique value or combination of values and a matching symbol in a ClassBreaksRenderer.

Inheritance
System.Object
ClassBreak
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ClassBreak : INotifyPropertyChanged
Remarks

The ClassBreak is used to categorize a group of values that fall within a range defined by MinValue and MaxValue properties. A value is determined to be within this range if it is greater than the MinValue but less than or equal to the MaxValue. When written as an algebraic equation, it would look like ('MinValue' < value <= 'MaxValue').

For example, assume you wanted to create a set of ClassBreak categories based on the following integers (0, 0, 1, 1, 2, 4, 6, 6, 7, 10).

The following table would be helpful in defining the ClassBreak range settings

Categorized group of values Count Label MinValue MaxValue
0 2 zero -1 0
1 - 2 3 one to two 0 2
3 - 5 1 three to five 2 5
6 - 10 4 six to ten 5 10

Constructors

Name Description
ClassBreak()

Initializes a new instance of the ClassBreak class.

ClassBreak(String, String, Double, Double, Symbol)

Initializes a new instance of the ClassBreak class with initial values.

ClassBreak(String, String, Double, Double, Symbol, IEnumerable<Symbol>)

Initializes a new instance of the ClassBreak class with alternate symbols.

Properties

Name Description
AlternateSymbols

Gets the alternate symbols for the class break's primary symbol.

Description

Gets or sets the renderer description for this class of values.

Label

Gets or sets the renderer label for this class of values.

MaxValue

Gets or sets the maximum value of the range that defines the break.

MinValue

Gets or sets the minimum value of the range that defines the break.

Symbol

Gets or sets the symbol used to represent elements in the class break.

Methods

Name Description
Clone()

Returns a clone of this ClassBreak.

FromJson(String)

Creates an instance of a class break by deserializing JSON.

ToJson()

Returns a string containing the JSON representation of the class break.

Events

Name Description
PropertyChanged

Occurs when a property value changes.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Change sublayer renderer: Apply a renderer to a sublayer.
In This Article
Back to top Copyright © 2022 Esri.