Class UniqueValueRenderer
A custom symbology renderer where the features of a Layer are displayed via groups based upon specified values found in an attribute field. The groups (aka. unique values) are defined as discreet occurrences specified as Values in UniqueValue objects of the UniqueValues collection.
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class UniqueValueRenderer : Renderer, INotifyPropertyChanged
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 this renderer will use. |
FieldNames | Gets the collection of field names used by the renderer - these correspond to keys on the feature attributes. |
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 - 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 |
Relevant samples
Trace utility network: Discover connected features in a utility network using connected, subnetwork, upstream, and downstream traces.