Class UniqueValue
Represents a unique value or combination of values and a matching symbol in a UniqueValueRenderer.
Inheritance
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<Nullable<Object>>) | Initializes a new instance of the UniqueValue class with initial values. |
| UniqueValue(String, String, Symbol, IEnumerable<Nullable<Object>>, IEnumerable<Symbol>) | Initializes a new instance of the UniqueValue class (or unique combination of values) with alternate symbols. |
| UniqueValue(String, String, Symbol, Nullable<Object>) | Initializes a new instance of the UniqueValue class with initial values. |
| UniqueValue(String, String, Symbol, Nullable<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 |
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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |