Class UniqueValue
Represents a unique value or combination of values and a matching symbol in a UniqueValueRenderer.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class UniqueValue : INotifyPropertyChanged
Constructors
Name | Description |
---|---|
UniqueValue() | Initializes a new instance of the UniqueValue class. |
UniqueValue(String, String, Symbol, IEnumerable<Object>) | Initializes a new instance of the UniqueValue class with initial values. |
UniqueValue(String, String, Symbol, IEnumerable<Object>, IEnumerable<Symbol>) | Initializes a new instance of the UniqueValue class (or unique combination of values) with alternate symbols. |
UniqueValue(String, String, Symbol, Object) | Initializes a new instance of the UniqueValue class with initial values. |
UniqueValue(String, String, Symbol, Object, IEnumerable<Symbol>) | Initializes a new instance of the UniqueValue class with initial values. |
Properties
Name | Description |
---|---|
AlternateSymbols | Gets the alternate symbols for the unique value's primary symbol. Currently only MultilayerSymbols are supported as alternates. |
Description | Gets or sets a description of the unique value. "Parcels zoned for residential use", for example. |
Label | Gets or sets a label for the unique value. "Residential", for example. |
Symbol | Gets or sets the symbol used to represent the value or values. |
Values | Gets a collection that defines a unique value or unique combination of values. Multiple values represent a unique combination. The FieldNames property must have a matching number of entries. There are limitations on the types of values that can be stored. Types that can be stored are System.String, System.Guid, System.DateTime, System.DateTimeOffset, System.Boolean, System.Single, System.Double, and most integral types (signed and unsigned System.Int16, System.Int32, and System.Int64). |
Methods
Name | Description |
---|---|
Clone() | Returns a clone of this UniqueValue. |
FromJson(String) | Creates an instance of a UniqueValue by deserializing JSON. |
ToJson() | Returns a string containing the JSON representation of the UniqueValue. |
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 |