dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

UniqueValueGroup Class

UniqueValueGroup represents a group of unique value classes
(i.e.
ArcGIS Maps SDK for JavaScript

public class UniqueValueGroup : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 UniqueValueGroup

Constructors

UniqueValueGroup() Constructor

Parameterless constructor for use as a Razor Component.

public UniqueValueGroup();

UniqueValueGroup(IReadOnlyList, string) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public UniqueValueGroup(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.UniqueValueClass>? classes=null, string? heading=null);

Parameters

classes System.Collections.Generic.IReadOnlyList<UniqueValueClass>

Specifies the classes (or unique categories) to group under a heading.
ArcGIS Maps SDK for JavaScript

heading System.String

The heading to be displayed for the group of unique classes in the Legend.
ArcGIS Maps SDK for JavaScript

Properties

UniqueValueGroup.Classes Property

Specifies the classes (or unique categories) to group under a heading.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.UniqueValueClass>? Classes { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<UniqueValueClass>

UniqueValueGroup.Heading Property

The heading to be displayed for the group of unique classes in the Legend.
ArcGIS Maps SDK for JavaScript

public string? Heading { get; set; }

Property Value

System.String

Methods

UniqueValueGroup.AddToClasses(UniqueValueClass[]) Method

Asynchronously adds elements to the Classes property.

public System.Threading.Tasks.Task AddToClasses(params dymaptic.GeoBlazor.Core.Components.UniqueValueClass[] values);

Parameters

values UniqueValueClass[]

The elements to add.

Returns

System.Threading.Tasks.Task

UniqueValueGroup.GetClasses() Method

Asynchronously retrieve the current value of the Classes property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.UniqueValueClass>?> GetClasses();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<UniqueValueClass>>

UniqueValueGroup.GetHeading() Method

Asynchronously retrieve the current value of the Heading property.

public System.Threading.Tasks.Task<string?> GetHeading();

Returns

System.Threading.Tasks.Task<System.String>

UniqueValueGroup.RemoveFromClasses(UniqueValueClass[]) Method

Asynchronously remove an element from the Classes property.

public System.Threading.Tasks.Task RemoveFromClasses(params dymaptic.GeoBlazor.Core.Components.UniqueValueClass[] values);

Parameters

values UniqueValueClass[]

The elements to remove.

Returns

System.Threading.Tasks.Task

UniqueValueGroup.SetClasses(IReadOnlyList) Method

Asynchronously set the value of the Classes property after render.

public System.Threading.Tasks.Task SetClasses(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.UniqueValueClass>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<UniqueValueClass>

The value to set.

Returns

System.Threading.Tasks.Task

UniqueValueGroup.SetHeading(string) Method

Asynchronously set the value of the Heading property after render.

public System.Threading.Tasks.Task SetHeading(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

UniqueValueGroup.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()