Constructor DictionaryRenderer
DictionaryRenderer(DictionarySymbolStyle)
Initializes a new instance of the DictionaryRenderer class.
Declaration
public DictionaryRenderer(DictionarySymbolStyle dictionarySymbolStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| DictionarySymbolStyle | dictionarySymbolStyle | The symbol dictionary to be used with the renderer. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | symbolDictionary |
Applies to
Platforms and versions
| 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
Custom dictionary style: Use a custom dictionary style (.stylx) to symbolize features using a variety of attribute values.
DictionaryRenderer(DictionarySymbolStyle, IDictionary<String, String>, IDictionary<String, String>)
Initializes a new instance of the DictionaryRenderer class.
Declaration
public DictionaryRenderer(DictionarySymbolStyle dictionarySymbolStyle, IDictionary<string, string> symbologyFieldOverrides, IDictionary<string, string> textFieldOverrides)
Parameters
| Type | Name | Description |
|---|---|---|
| DictionarySymbolStyle | dictionarySymbolStyle | The symbol dictionary to be used with the renderer. |
| System.Collections.Generic.IDictionary<System.String, System.String> | symbologyFieldOverrides | A dictionary of symbol/field overrides. |
| System.Collections.Generic.IDictionary<System.String, System.String> | textFieldOverrides | A dictionary of text field overrides. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | symbolDictionary |
Applies to
Platforms and versions
| 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.14 |