dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

VisualVariableLegendOptions Class

An object providing options for displaying the visual variable in
the Legend.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

VisualVariableLegendOptions() Constructor

Parameterless constructor for use as a Razor Component.

public VisualVariableLegendOptions();

VisualVariableLegendOptions(Nullable, string) Constructor

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

public VisualVariableLegendOptions(System.Nullable<bool> showLegend=null, string? title=null);

Parameters

showLegend System.Nullable<System.Boolean>

Indicates whether to show the visual variable in the legend.
ArcGIS Maps SDK for JavaScript

title System.String

The title describing the visualization of the visual variable in the Legend.
ArcGIS Maps SDK for JavaScript

Properties

VisualVariableLegendOptions.ShowLegend Property

Indicates whether to show the visual variable in the legend.

public System.Nullable<bool> ShowLegend { get; set; }

Property Value

System.Nullable<System.Boolean>

VisualVariableLegendOptions.Title Property

The title describing the visualization of the visual variable in the Legend. This takes precedence over a field alias or valueExpressionTitle.

public string? Title { get; set; }

Property Value

System.String

Methods

VisualVariableLegendOptions.GetShowLegend() Method

Asynchronously retrieve the current value of the ShowLegend property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetShowLegend();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

VisualVariableLegendOptions.GetTitle() Method

Asynchronously retrieve the current value of the Title property.

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

Returns

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

VisualVariableLegendOptions.SetShowLegend(Nullable) Method

Asynchronously set the value of the ShowLegend property after render.

public System.Threading.Tasks.Task SetShowLegend(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

VisualVariableLegendOptions.SetTitle(string) Method

Asynchronously set the value of the Title property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task