dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

LegendStyle Class

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

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

Constructors

LegendStyle() Constructor

Parameterless constructor for use as a Razor Component.

public LegendStyle();

LegendStyle(Nullable) Constructor

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

public LegendStyle(System.Nullable<dymaptic.GeoBlazor.Core.Enums.LegendStyleLayout> layout=null);

Parameters

layout System.Nullable<LegendStyleLayout>

When a card type is specified, you can specify one of the following layout options.
default stack
ArcGIS Maps SDK for JavaScript

Properties

LegendStyle.Layout Property

The legend style layout when there are multiple legends

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.LegendStyleLayout> Layout { get; set; }

Property Value

System.Nullable<LegendStyleLayout>

LegendStyle.Type Property

The Legend style type.

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.LegendStyleType> Type { get; set; }

Property Value

System.Nullable<LegendStyleType>

Methods

LegendStyle.GetLayout() Method

Asynchronously retrieve the current value of the Layout property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.LegendStyleLayout>> GetLayout();

Returns

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

LegendStyle.SetLayout(Nullable) Method

Asynchronously set the value of the Layout property after render.

public System.Threading.Tasks.Task SetLayout(System.Nullable<dymaptic.GeoBlazor.Core.Enums.LegendStyleLayout> value);

Parameters

value System.Nullable<LegendStyleLayout>

The value to set.

Returns

System.Threading.Tasks.Task