dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

OpacityRampElement Class

Describes the schema of the OpacityRampElement used as a legendElement.
ArcGIS Maps SDK for JavaScript

public class OpacityRampElement : dymaptic.GeoBlazor.Core.Components.MapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ILegendElement,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ISymbolTableElementType

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

Implements ILegendElement, IMapComponent, ISymbolTableElementType

Constructors

OpacityRampElement() Constructor

Parameterless constructor for use as a Razor Component.

public OpacityRampElement();

OpacityRampElement(IReadOnlyList, RampTitle, string) Constructor

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

public OpacityRampElement(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.OpacityRampStop>? infos=null, dymaptic.GeoBlazor.Core.Model.RampTitle? rampTitle=null, string? stringTitle=null);

Parameters

infos System.Collections.Generic.IReadOnlyList<OpacityRampStop>

The individual opacity stops rendered in the legend that correspond to the opacity visual variable in the renderer.
ArcGIS Maps SDK for JavaScript

rampTitle RampTitle

The title of the opacity ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript

stringTitle System.String

The title of the opacity ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript

Properties

OpacityRampElement.Infos Property

The individual opacity stops rendered in the legend that correspond to the opacity visual variable in the renderer.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Collections.Generic.IReadOnlyList<OpacityRampStop>

OpacityRampElement.RampTitle Property

The title of the opacity ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.RampTitle? RampTitle { get; set; }

Property Value

RampTitle

OpacityRampElement.StringTitle Property

The title of the opacity ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript

public string? StringTitle { get; set; }

Property Value

System.String

Methods

OpacityRampElement.AddToInfos(OpacityRampStop[]) Method

Asynchronously adds elements to the Infos property.

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

Parameters

values OpacityRampStop[]

The elements to add.

Returns

System.Threading.Tasks.Task

OpacityRampElement.GetInfos() Method

Asynchronously retrieve the current value of the Infos property.

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

Returns

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

OpacityRampElement.GetRampTitle() Method

Asynchronously retrieve the current value of the RampTitle property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.RampTitle?> GetRampTitle();

Returns

System.Threading.Tasks.Task<RampTitle>

OpacityRampElement.GetStringTitle() Method

Asynchronously retrieve the current value of the StringTitle property.

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

Returns

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

OpacityRampElement.RemoveFromInfos(OpacityRampStop[]) Method

Asynchronously remove an element from the Infos property.

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

Parameters

values OpacityRampStop[]

The elements to remove.

Returns

System.Threading.Tasks.Task

OpacityRampElement.SetInfos(IReadOnlyList) Method

Asynchronously set the value of the Infos property after render.

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

Parameters

value System.Collections.Generic.IReadOnlyList<OpacityRampStop>

The value to set.

Returns

System.Threading.Tasks.Task

OpacityRampElement.SetRampTitle(RampTitle) Method

Asynchronously set the value of the RampTitle property after render.

public System.Threading.Tasks.Task SetRampTitle(dymaptic.GeoBlazor.Core.Model.RampTitle? value);

Parameters

value RampTitle

The value to set.

Returns

System.Threading.Tasks.Task

OpacityRampElement.SetStringTitle(string) Method

Asynchronously set the value of the StringTitle property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

OpacityRampElement.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()