Show / Hide Table of Contents

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.

Inheritance
Object
Renderer
UniqueValueRenderer
Implements
INotifyPropertyChanged
Renderer.RotationExpression
Renderer.RotationType
Renderer.SceneProperties
Renderer.UnknownJson
Renderer.UnsupportedJson
Renderer.FromJson(String)
Renderer.ToJson()
Renderer.GetSymbol(GeoElement)
Renderer.GetSymbol(GeoElement, Boolean)
Renderer.Clone()
Renderer.PropertyChanged
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 200.1
.NET 6.0100.13 - 200.1
.NET 6.0 Windows100.13 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.0 - 200.1
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.1

Relevant samples

Trace utility network: Discover connected features in a utility network using connected, subnetwork, upstream, and downstream traces.
In This Article
Back to top Copyright © 2022 Esri.