Show / Hide Table of Contents

Class DictionaryRenderer

Renders geoelements using symbols generated from a DictionarySymbolStyle.

Inheritance
System.Object
Renderer
DictionaryRenderer
Implements
System.ComponentModel.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
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class DictionaryRenderer : Renderer, INotifyPropertyChanged
Remarks

The dictionary renderer applies symbols to features or graphics according to a set of input attribute values.The symbol primitives and logic(rule engine) for applying symbols is provided by an associated DictionarySymbolStyle The DictionarySymbolStyle depends on attribute names to define the symbology of each feature. The attributes reference different symbol components in the style, which are assembled to create a complex symbol. In order to display geoelements using the dictionary renderer, attributes in your data must either use the expected attribute names or be mapped to the proper style attributes.

Constructors

Name Description
DictionaryRenderer(DictionarySymbolStyle)

Initializes a new instance of the DictionaryRenderer class with the given DictionarySymbolStyle.

DictionaryRenderer(DictionarySymbolStyle, IDictionary<String, String>, IDictionary<String, String>)

Initializes a new instance of the DictionaryRenderer class.

Properties

Name Description
ScaleExpression

Gets or sets an Arcade expression object with an expression for scaling symbols in a dictionary renderer.

SymbolDictionaryStyle

Gets or sets the dictionary symbol style to be applied by the renderer.

SymbologyFieldOverrides

Gets or sets the dictionary of a symbology attribute and its override used to fetch a symbol from the dictionary symbol style.

TextFieldOverrides

Gets or sets the map of a text attribute and its override used to fetch symbol text and placement from the dictionary symbol style.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Custom dictionary style: Use a custom dictionary style (.stylx) to symbolize features using a variety of attribute values.
In This Article
Back to top Copyright © 2022 Esri.