dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
UniqueValueInfo Class
Defines the categories of a UniqueValueRenderer.
ArcGIS Maps SDK for JavaScript
public class UniqueValueInfo : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 UniqueValueInfo
Constructors
UniqueValueInfo() Constructor
Parameterless constructor for use as a Razor Component.
public UniqueValueInfo();
UniqueValueInfo(string, Symbol, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public UniqueValueInfo(string? label=null, dymaptic.GeoBlazor.Core.Components.Symbols.Symbol? symbol=null, string? value=null);
Parameters
label
System.String
Describes the value represented by the symbol.
ArcGIS Maps SDK for JavaScript
symbol
Symbol
Defines the symbol used to render features with the provided value.
ArcGIS Maps SDK for JavaScript
value
System.String
Features with this value will be rendered with the given symbol.
ArcGIS Maps SDK for JavaScript
Properties
UniqueValueInfo.Label Property
Describes the value represented by the symbol.
public string? Label { get; set; }
Property Value
UniqueValueInfo.Symbol Property
Defines the symbol used to render features with the provided value.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Symbols.Symbol? Symbol { get; set; }
Property Value
UniqueValueInfo.Value Property
Features with this value will be rendered with the given symbol.
public string? Value { get; set; }
Property Value
Methods
UniqueValueInfo.GetLabel() Method
Asynchronously retrieve the current value of the Label property.
public System.Threading.Tasks.Task<string?> GetLabel();
Returns
System.Threading.Tasks.Task<System.String>
UniqueValueInfo.GetSymbol() Method
Gets the current Symbol for the object.
public virtual System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Symbols.Symbol?> GetSymbol();
Returns
System.Threading.Tasks.Task<Symbol>
UniqueValueInfo.GetValue() Method
Asynchronously retrieve the current value of the Value property.
public System.Threading.Tasks.Task<string?> GetValue();
Returns
System.Threading.Tasks.Task<System.String>
UniqueValueInfo.SetLabel(string) Method
Asynchronously set the value of the Label property after render.
public System.Threading.Tasks.Task SetLabel(string? value);
Parameters
value
System.String
The value to set.
Returns
UniqueValueInfo.SetSymbol(Symbol) Method
Sets the Symbol for the object.
public virtual System.Threading.Tasks.Task SetSymbol(dymaptic.GeoBlazor.Core.Components.Symbols.Symbol symbol);
Parameters
symbol
Symbol
The Symbol for the object.
Returns
UniqueValueInfo.SetValue(string) Method
Asynchronously set the value of the Value property after render.
public System.Threading.Tasks.Task SetValue(string? value);
Parameters
value
System.String
The value to set.
Returns
UniqueValueInfo.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()