dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

UniqueValue Class

Defines combinations of values to expect from up to three fields of categorical data
in a UniqueValueRenderer.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

UniqueValue() Constructor

Parameterless constructor for use as a Razor Component.

public UniqueValue();

UniqueValue(string, string, string) Constructor

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

public UniqueValue(string? value=null, string? value2=null, string? value3=null);

Parameters

value System.String

Defines a value (possibly in combination with value2 and value3) returned from the field
referenced in UniqueValueRenderer.field
or returned from an Arcade expression defined in
UniqueValueRenderer.valueExpression to be categorized
in a UniqueValueClass.
ArcGIS Maps SDK for JavaScript

value2 System.String

Defines a value returned from the field referenced in UniqueValueRenderer.field2
to be categorized in combination with value (and possibly value3) in a UniqueValueClass.
ArcGIS Maps SDK for JavaScript

value3 System.String

Defines a value returned from the field referenced in UniqueValueRenderer.field3
to be categorized in combination with value and value2 in a UniqueValueClass.
ArcGIS Maps SDK for JavaScript

Properties

UniqueValue.Value Property

Defines a value (possibly in combination with value2 and value3) returned from the field
referenced in UniqueValueRenderer.field
or returned from an Arcade expression defined in
UniqueValueRenderer.valueExpression to be categorized
in a UniqueValueClass.
ArcGIS Maps SDK for JavaScript

public string? Value { get; set; }

Property Value

System.String

UniqueValue.Value2 Property

Defines a value returned from the field referenced in UniqueValueRenderer.field2
to be categorized in combination with value (and possibly value3) in a UniqueValueClass.
ArcGIS Maps SDK for JavaScript

public string? Value2 { get; set; }

Property Value

System.String

UniqueValue.Value3 Property

Defines a value returned from the field referenced in UniqueValueRenderer.field3
to be categorized in combination with value and value2 in a UniqueValueClass.
ArcGIS Maps SDK for JavaScript

public string? Value3 { get; set; }

Property Value

System.String

Methods

UniqueValue.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>

UniqueValue.GetValue2() Method

Asynchronously retrieve the current value of the Value2 property.

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

Returns

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

UniqueValue.GetValue3() Method

Asynchronously retrieve the current value of the Value3 property.

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

Returns

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

UniqueValue.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

System.Threading.Tasks.Task

UniqueValue.SetValue2(string) Method

Asynchronously set the value of the Value2 property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

UniqueValue.SetValue3(string) Method

Asynchronously set the value of the Value3 property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task