GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

TableMenuItemConfig Class

The configuration for an individual menu item within the table menu.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

TableMenuItemConfig() Constructor

Parameterless constructor for use as a Razor Component.

public TableMenuItemConfig();

TableMenuItemConfig(Nullable, TableMenuItemConfigClickFunction, Nullable, string, string, string, Nullable, TableMenuItemConfigHiddenFunction) Constructor

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

public TableMenuItemConfig(System.Nullable<bool> boolHidden=null, dymaptic.GeoBlazor.Pro.Functions.TableMenuItemConfigClickFunction? clickFunction=null, System.Nullable<bool> disabled=null, string? icon=null, string? iconClass=null, string? label=null, System.Nullable<bool> selected=null, dymaptic.GeoBlazor.Pro.Functions.TableMenuItemConfigHiddenFunction? tableMenuItemConfigHiddenFunctionHidden=null);

Parameters

boolHidden System.Nullable<System.Boolean>

clickFunction TableMenuItemConfigClickFunction(IDomUiEvent)

disabled System.Nullable<System.Boolean>

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

icon System.String

The string value indicating the Calcite icon displayed for the menu item.
ArcGIS Maps SDK for JavaScript

iconClass System.String

This is the CSS class for the icon displayed for the menu item.
ArcGIS Maps SDK for JavaScript

label System.String

The text displayed for the menu item.
ArcGIS Maps SDK for JavaScript

selected System.Nullable<System.Boolean>

Indicates whether the menu item is selected.
ArcGIS Maps SDK for JavaScript

tableMenuItemConfigHiddenFunctionHidden TableMenuItemConfigHiddenFunction

Properties

TableMenuItemConfig.BoolHidden Property

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

Property Value

System.Nullable<System.Boolean>

TableMenuItemConfig.ClickFunction Property

public dymaptic.GeoBlazor.Pro.Functions.TableMenuItemConfigClickFunction? ClickFunction { get; set; }

Property Value

TableMenuItemConfigClickFunction(IDomUiEvent)

TableMenuItemConfig.Disabled Property

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

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

Property Value

System.Nullable<System.Boolean>

TableMenuItemConfig.HasClickFunction Property

A convenience property that signifies whether a custom ClickFunction function was registered.

public bool HasClickFunction { get; }

Property Value

System.Boolean

TableMenuItemConfig.HasTableMenuItemConfigHiddenFunctionHidden Property

A convenience property that signifies whether a custom TableMenuItemConfigHiddenFunctionHidden function was registered.

public bool HasTableMenuItemConfigHiddenFunctionHidden { get; }

Property Value

System.Boolean

TableMenuItemConfig.Icon Property

The string value indicating the Calcite icon displayed for the menu item.
ArcGIS Maps SDK for JavaScript

public string? Icon { get; set; }

Property Value

System.String

TableMenuItemConfig.IconClass Property

This is the CSS class for the icon displayed for the menu item.
ArcGIS Maps SDK for JavaScript

public string? IconClass { get; set; }

Property Value

System.String

TableMenuItemConfig.Label Property

The text displayed for the menu item.
ArcGIS Maps SDK for JavaScript

public string? Label { get; set; }

Property Value

System.String

TableMenuItemConfig.Selected Property

Indicates whether the menu item is selected.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

TableMenuItemConfig.TableMenuItemConfigHiddenFunctionHidden Property

public dymaptic.GeoBlazor.Pro.Functions.TableMenuItemConfigHiddenFunction? TableMenuItemConfigHiddenFunctionHidden { get; set; }

Property Value

TableMenuItemConfigHiddenFunction

Methods

TableMenuItemConfig.GetBoolHidden() Method

Asynchronously retrieve the current value of the BoolHidden property.

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

Returns

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

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

TableMenuItemConfig.GetIcon() Method

Asynchronously retrieve the current value of the Icon property.

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

Returns

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

TableMenuItemConfig.GetIconClass() Method

Asynchronously retrieve the current value of the IconClass property.

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

Returns

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

TableMenuItemConfig.GetLabel() Method

Asynchronously retrieve the current value of the Label property.

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

Returns

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

TableMenuItemConfig.GetSelected() Method

Asynchronously retrieve the current value of the Selected property.

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

Returns

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

TableMenuItemConfig.OnJsClickFunction(IDomUiEvent) Method

JS-invokable method that triggers the ClickFunction function.
Should not be called by consuming code.

public System.Threading.Tasks.Task OnJsClickFunction(dymaptic.GeoBlazor.Core.Events.IDomUiEvent @event);

Parameters

event dymaptic.GeoBlazor.Core.Events.IDomUiEvent

Returns

System.Threading.Tasks.Task

TableMenuItemConfig.SetBoolHidden(Nullable) Method

Asynchronously set the value of the BoolHidden property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

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

TableMenuItemConfig.SetIcon(string) Method

Asynchronously set the value of the Icon property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

TableMenuItemConfig.SetIconClass(string) Method

Asynchronously set the value of the IconClass property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

TableMenuItemConfig.SetLabel(string) Method

Asynchronously set the value of the Label property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

TableMenuItemConfig.SetSelected(Nullable) Method

Asynchronously set the value of the Selected property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task