Class UniqueValueRenderer
A unique value renderer symbolizes geoelements with a distinct symbol for each unique data value in an attribute.
Implements
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class UniqueValueRenderer : Renderer, INotifyPropertyChanged
Remarks
A unique value renderer contains a collection of UniqueValues. Each UniqueValue has a Symbol and a collection of Values to define a value or combination of values.
This is typically used to visualize categories or data types. For example, you can use a unique value renderer to symbolize zoning designations: yellow for "Residential", purple for "Industrial", and green for both "Forests" and "Open land".
Constructors
Name | Description |
---|---|
UniqueValueRenderer() | Initializes a new instance of the UniqueValueRenderer class. |
UniqueValueRenderer(IEnumerable<String>, IEnumerable<UniqueValue>, String, Symbol) | Initializes a new instance of the UniqueValueRenderer class with initial values. |
Properties
Name | Description |
---|---|
DefaultLabel | Gets or sets the label used for the default symbol. |
DefaultSymbol | Gets or sets the default symbol for values that don't match any of the unique values. |
FieldNames | Gets a collection of the field names/attribute keys that the unique values apply to. |
UniqueValues | Gets a collection of unique values used by the renderer to select a symbol. |
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 |