layout: default title: ActionBase parent: Core Classes —

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.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.Disabled Property

Indicates whether this action is disabled.

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

Property Value

System.Nullable<System.Boolean>

ActionBase.Id Property

The name of the ID assigned to this action.

public string? Id { 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 virtual string Type { get; }

Property Value

System.String