Constructor UniqueValue
UniqueValue()
Initializes a new instance of the UniqueValue class.
Declaration
public UniqueValue()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
UniqueValue(String, String, Symbol, Object)
Initializes a new instance of the UniqueValue class with initial values.
Declaration
public UniqueValue(string description, string label, Symbol symbol, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | The description of the unique value. "Parcels zoned for residential use", for example. |
System.String | label | The label for the unique value. "Residential", for example. |
Symbol | symbol | The symbol used to represent elements with this unique value. |
System.Object | value | A single object value |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
UniqueValue(String, String, Symbol, IEnumerable<Object>)
Initializes a new instance of the UniqueValue class with initial values.
Declaration
public UniqueValue(string description, string label, Symbol symbol, IEnumerable<object> values)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | The description of the unique value. "Parcels zoned for residential use", for example. |
System.String | label | The label for the unique value. "Residential", for example. |
Symbol | symbol | The symbol used to represent elements with this unique value. |
System.Collections.Generic.IEnumerable<System.Object> | values | A collection of object values. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
UniqueValue(String, String, Symbol, IEnumerable<Object>, IEnumerable<Symbol>)
Initializes a new instance of the UniqueValue class (or unique combination of values) with alternate symbols.
Declaration
public UniqueValue(string description, string label, Symbol symbol, IEnumerable<object> values, IEnumerable<Symbol> alternateSymbols)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | The description of the unique value. "Parcels zoned for residential use", for example. |
System.String | label | The label for the unique value. "Residential", for example. |
Symbol | symbol | The symbol used to represent elements with this unique value. |
System.Collections.Generic.IEnumerable<System.Object> | values | A collection of object values. |
System.Collections.Generic.IEnumerable<Symbol> | alternateSymbols | A collection of alternate symbols for the unique value. Only MultilayerSymbol are supported as alternates. Symbols in this list should be of type MultilayerSymbol. |
Remarks
A unique value can have alternate symbols to the primary symbol. Alternate symbols allow you to tailor the visualization of a unique value at different scales by selecting different symbols for different scales. Alternate symbols are supported only when unique value's primary symbol and other symbols in alternate symbol list are of type MultilayerSymbol and have SymbolReferenceProperties defining valid min/max scales at which the symbol becomes visible. Renderer will pick only one symbol at a given map scale. If primary symbol's scale range falls within the map's scale, primary symbol is used. If not, then symbols in alternate symbols list are iterated through and first symbol matching the current map scale is picked for rendering. A symbol becomes visible if the map scale is less than or equal to symbol's minimum scale and greater than symbol's maximum scale. For more information on scale-based symbol classes and alternate symbols see Use scale-based symbol classes.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.13 - 200.6 |
Xamarin.Android | 100.13 - 100.14 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 200.6 |
UniqueValue(String, String, Symbol, Object, IEnumerable<Symbol>)
Initializes a new instance of the UniqueValue class with initial values.
Declaration
public UniqueValue(string description, string label, Symbol symbol, object value, IEnumerable<Symbol> alternateSymbols)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | The description of the unique value. "Parcels zoned for residential use", for example. |
System.String | label | The label for the unique value. "Residential", for example. |
Symbol | symbol | The symbol used to represent elements with this unique value. |
System.Object | value | A single object value. |
System.Collections.Generic.IEnumerable<Symbol> | alternateSymbols | A collection of alternate symbols to the primary symbol. Symbols in this list should be of type MultilayerSymbol. |
Remarks
A unique value can have alternate symbols to the primary symbol. Alternate symbols allow you to tailor the visualization of a unique value at different scales by selecting different symbols for different scales. Alternate symbols are supported only when unique value's primary symbol and other symbols in alternate symbol list are of type MultilayerSymbol and have SymbolReferenceProperties defining valid min/max scales at which the symbol becomes visible. Renderer will pick only one symbol at a given map scale. If primary symbol's scale range falls within the map's scale, primary symbol is used. If not, then symbols in alternate symbols list are iterated through and first symbol matching the current map scale is picked for rendering. A symbol becomes visible if the map scale is less than or equal to symbol's minimum scale and greater than symbol's maximum scale. For more information on scale-based symbol classes and alternate symbols see following documentation: Use scale-based symbol classes.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.13 - 200.6 |
Xamarin.Android | 100.13 - 100.14 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 200.6 |