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
Implements
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |