dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
UniqueValueClass Class
Defines a category within a UniqueValueGroup.
ArcGIS Maps SDK for JavaScript
public class UniqueValueClass : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 UniqueValueClass
Constructors
UniqueValueClass() Constructor
Parameterless constructor for use as a Razor Component.
public UniqueValueClass();
UniqueValueClass(string, Symbol, IReadOnlyList) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public UniqueValueClass(string? label=null, dymaptic.GeoBlazor.Core.Components.Symbols.Symbol? symbol=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.UniqueValue>? values=null);
Parameters
label
System.String
Describes the values represented by the symbol in the
Legend.
ArcGIS Maps SDK for JavaScript
symbol
Symbol
Defines the symbol used to represent features containing the given values.
ArcGIS Maps SDK for JavaScript
values
System.Collections.Generic.IReadOnlyList<UniqueValue>
An array of unique values that should be rendered with the same symbol.
ArcGIS Maps SDK for JavaScript
Properties
UniqueValueClass.Label Property
Describes the values represented by the symbol in the
Legend.
ArcGIS Maps SDK for JavaScript
public string? Label { get; set; }
Property Value
UniqueValueClass.Symbol Property
Defines the symbol used to represent features containing the given values.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Symbols.Symbol? Symbol { get; set; }
Property Value
UniqueValueClass.Values Property
An array of unique values that should be rendered with the same symbol.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.UniqueValue>? Values { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<UniqueValue>
Methods
UniqueValueClass.AddToValues(UniqueValue[]) Method
Asynchronously adds elements to the Values property.
public System.Threading.Tasks.Task AddToValues(params dymaptic.GeoBlazor.Core.Components.UniqueValue[] values);
Parameters
values
UniqueValue[]
The elements to add.
Returns
UniqueValueClass.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>
UniqueValueClass.GetSymbol() Method
Asynchronously retrieve the current value of the Symbol property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Symbols.Symbol?> GetSymbol();
Returns
System.Threading.Tasks.Task<Symbol>
UniqueValueClass.GetValues() Method
Asynchronously retrieve the current value of the Values property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.UniqueValue>?> GetValues();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<UniqueValue>>
UniqueValueClass.RemoveFromValues(UniqueValue[]) Method
Asynchronously remove an element from the Values property.
public System.Threading.Tasks.Task RemoveFromValues(params dymaptic.GeoBlazor.Core.Components.UniqueValue[] values);
Parameters
values
UniqueValue[]
The elements to remove.
Returns
UniqueValueClass.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
UniqueValueClass.SetSymbol(Symbol) Method
Asynchronously set the value of the Symbol property after render.
public System.Threading.Tasks.Task SetSymbol(dymaptic.GeoBlazor.Core.Components.Symbols.Symbol? value);
Parameters
value
Symbol
The value to set.
Returns
UniqueValueClass.SetValues(IReadOnlyList) Method
Asynchronously set the value of the Values property after render.
public System.Threading.Tasks.Task SetValues(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.UniqueValue>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<UniqueValue>
The value to set.
Returns
UniqueValueClass.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()