Show / Hide Table of Contents

Class DictionaryRenderer

Renders geoelements using symbols generated from a DictionarySymbolStyle.

Inheritance
Object
Renderer
DictionaryRenderer
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 DictionaryRenderer : Renderer, INotifyPropertyChanged
Remarks

The DictionaryRenderer 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 DictionaryRenderer, 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.

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.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0

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.