GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

TableMenuConfig Class

The configuration for the table’s menu.
ArcGIS Maps SDK for JavaScript

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

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 TableMenuConfig

Constructors

TableMenuConfig() Constructor

Parameterless constructor for use as a Razor Component.

public TableMenuConfig();

TableMenuConfig(Nullable, IReadOnlyList, Nullable) Constructor

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

public TableMenuConfig(System.Nullable<bool> disabled=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.TableMenuItemConfig>? items=null, System.Nullable<bool> open=null);

Parameters

disabled System.Nullable<System.Boolean>

Indicates whether the menu is disabled.
ArcGIS Maps SDK for JavaScript

items System.Collections.Generic.IReadOnlyList<TableMenuItemConfig>

The menu items within the table menu.
ArcGIS Maps SDK for JavaScript

open System.Nullable<System.Boolean>

Indicates whether the menu is open.
ArcGIS Maps SDK for JavaScript

Properties

TableMenuConfig.Disabled Property

Indicates whether the menu is disabled.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

TableMenuConfig.Items Property

The menu items within the table menu.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.TableMenuItemConfig>? Items { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<TableMenuItemConfig>

TableMenuConfig.Open Property

Indicates whether the menu is open.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

Methods

TableMenuConfig.AddToItems(TableMenuItemConfig[]) Method

Asynchronously adds elements to the Items property.

public System.Threading.Tasks.Task AddToItems(params dymaptic.GeoBlazor.Pro.Components.TableMenuItemConfig[] values);

Parameters

values TableMenuItemConfig[]

The elements to add.

Returns

System.Threading.Tasks.Task

TableMenuConfig.GetDisabled() Method

Asynchronously retrieve the current value of the Disabled property.

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

Returns

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

TableMenuConfig.GetItems() Method

Asynchronously retrieve the current value of the Items property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.TableMenuItemConfig>?> GetItems();

Returns

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

TableMenuConfig.GetOpen() Method

Asynchronously retrieve the current value of the Open property.

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

Returns

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

TableMenuConfig.RemoveFromItems(TableMenuItemConfig[]) Method

Asynchronously remove an element from the Items property.

public System.Threading.Tasks.Task RemoveFromItems(params dymaptic.GeoBlazor.Pro.Components.TableMenuItemConfig[] values);

Parameters

values TableMenuItemConfig[]

The elements to remove.

Returns

System.Threading.Tasks.Task

TableMenuConfig.SetDisabled(Nullable) Method

Asynchronously set the value of the Disabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

TableMenuConfig.SetItems(IReadOnlyList) Method

Asynchronously set the value of the Items property after render.

public System.Threading.Tasks.Task SetItems(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.TableMenuItemConfig>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<TableMenuItemConfig>

The value to set.

Returns

System.Threading.Tasks.Task

TableMenuConfig.SetOpen(Nullable) Method

Asynchronously set the value of the Open property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

TableMenuConfig.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()