dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

ActionBase Class

Actions are customizable behavior which can be executed in certain widgets such as Popups, a BasemapLayerList, or a LayerList.
ArcGIS Maps SDK for JavaScript

public abstract class ActionBase : dymaptic.GeoBlazor.Core.Components.MapComponent

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

Derived
↳ ActionButton
↳ ActionToggle

Properties

ActionBase.ActionId Property

The name of the ID assigned to this action.
ArcGIS Maps SDK for JavaScript

public string? ActionId { get; set; }

Property Value

System.String

ActionBase.Active Property

Set this property to true to display a spinner icon. You should do this if the action executes an async operation, such as a query, that requires letting the end user know that a process is ongoing in the background. Set the property back to false to communicate to the user that the process has finished.

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

Property Value

System.Nullable<System.Boolean>

ActionBase.CallbackFunction Property

The action function to perform on click.

public System.Func<System.Threading.Tasks.Task>? CallbackFunction { get; set; }

Property Value

System.Func<System.Threading.Tasks.Task>

ActionBase.ClassName Property

This adds a CSS class to the ActionButton’s node.

public string? ClassName { get; set; }

Property Value

System.String

ActionBase.Disabled Property

Indicates whether this action is disabled.

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

Property Value

System.Nullable<System.Boolean>

ActionBase.HasCallbackFunction Property

Identifies whether the action has a callback function.

public bool HasCallbackFunction { get; }

Property Value

System.Boolean

ActionBase.Icon Property

Calcite icon used for the action.
default null
ArcGIS Maps SDK for JavaScript

public string? Icon { get; set; }

Property Value

System.String

ActionBase.Title Property

The title of the action.

public string? Title { get; set; }

Property Value

System.String

ActionBase.Type Property

Specifies the type of action. Choose between “button” or “toggle”.

public abstract string Type { get; }

Property Value

System.String

Methods

ActionBase.GetActionId() Method

Asynchronously retrieve the current value of the ActionId property.

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

Returns

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

ActionBase.GetActive() Method

Asynchronously retrieve the current value of the Active property.

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

Returns

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

ActionBase.GetClassName() Method

Asynchronously retrieve the current value of the ClassName property.

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

Returns

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

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

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

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

ActionBase.OnJsTriggerAction(PopupTriggerActionEvent) Method

JS-invokable method for triggering actions.

public System.Threading.Tasks.Task OnJsTriggerAction(dymaptic.GeoBlazor.Core.Events.PopupTriggerActionEvent triggerActionEvent);

Parameters

triggerActionEvent PopupTriggerActionEvent

The event that contains the action to be triggered.

Returns

System.Threading.Tasks.Task

ActionBase.SetActionId(string) Method

Asynchronously set the value of the ActionId property after render.

public System.Threading.Tasks.Task SetActionId(string value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

ActionBase.SetActive(bool) Method

Asynchronously set the value of the Active property after render.

public System.Threading.Tasks.Task SetActive(bool value);

Parameters

value System.Boolean

The value to set.

Returns

System.Threading.Tasks.Task

ActionBase.SetClassName(string) Method

Asynchronously set the value of the ClassName property after render.

public System.Threading.Tasks.Task SetClassName(string value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

ActionBase.SetDisabled(bool) Method

Asynchronously set the value of the Disabled property after render.

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

Parameters

value System.Boolean

The value to set.

Returns

System.Threading.Tasks.Task

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

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

ActionBase.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()