Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.dll Namespace: CloudNimble.BlazorEssentials.Navigation Inheritance: CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

CloudNimble.BlazorEssentials.Navigation.ActionButton<T>

Summary

Defines a button that can be used to trigger an action in a User Interface. Useful for binding aq group of actions programmatically.

Constructors

.ctor

Syntax

public ActionButton()

.ctor

Creates a new ActionButton instance specifically for icon-only buttons, usually in the header or footer.

Syntax

public ActionButton(string iconClass, string tooltip, System.Action<T> actionMethod = null, System.Func<bool> isDisabledFunc = null)

Parameters

NameTypeDescription
iconClassstring-
tooltipstring-
actionMethodSystem.Action<T>-
isDisabledFuncSystem.Func<bool>-

.ctor

Syntax

public ActionButton(string buttonText, string buttonClass, string iconClass, string popoverName, string popoverHeader, string popoverPlacement, System.Func<bool> isDisabledFunc = null, System.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton> children = null)

Parameters

NameTypeDescription
buttonTextstring-
buttonClassstring-
iconClassstring-
popoverNamestring-
popoverHeaderstring-
popoverPlacementstring-
isDisabledFuncSystem.Func<bool>-
childrenSystem.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton>-

.ctor

Syntax

public ActionButton(string buttonText, string buttonClass, string iconClass, System.Action<T> actionMethod = null, System.Func<bool> isDisabledFunc = null, string tooltip = null, string tooltipContainer = "body")

Parameters

NameTypeDescription
buttonTextstring-
buttonClassstring-
iconClassstring-
actionMethodSystem.Action<T>-
isDisabledFuncSystem.Func<bool>-
tooltipstring-
tooltipContainerstring-

.ctor Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public ActionButtonBase()

.ctor Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase
Creates a new ActionButton instance specifically for icon-only buttons, usually in the header or footer.

Syntax

public ActionButtonBase(string iconClass, string tooltip, System.Func<bool> isDisabledFunc = null)

Parameters

NameTypeDescription
iconClassstring-
tooltipstring-
isDisabledFuncSystem.Func<bool>-

.ctor Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public ActionButtonBase(string buttonText, string buttonClass, string iconClass, string popoverName, string popoverHeader, string popoverPlacement, System.Func<bool> isDisabledFunc = null, System.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton> children = null)

Parameters

NameTypeDescription
buttonTextstring-
buttonClassstring-
iconClassstring-
popoverNamestring-
popoverHeaderstring-
popoverPlacementstring-
isDisabledFuncSystem.Func<bool>-
childrenSystem.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton>-

.ctor Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public ActionButtonBase(string buttonText, string buttonClass, string iconClass, System.Func<bool> isDisabledFunc = null, string tooltip = null, string tooltipContainer = "body")

Parameters

NameTypeDescription
buttonTextstring-
buttonClassstring-
iconClassstring-
isDisabledFuncSystem.Func<bool>-
tooltipstring-
tooltipContainerstring-

.ctor Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement

Syntax

public InterfaceElement()

.ctor Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement

Syntax

public InterfaceElement(string displayText, string iconClass, string cssClass = null)

Parameters

NameTypeDescription
displayTextstring-
iconClassstring-
cssClassstring-

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

AccessibilityText Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase
Test to be used for screen readers when this item is rendered.

Syntax

public string AccessibilityText { get; set; }

Property Value

Type: string

ActionMethod

A lambda expression that will be executed when the button is clicked.

Syntax

public System.Action<T> ActionMethod { get; set; }

Property Value

Type: System.Action<T>

Children Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public System.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton> Children { get; set; }

Property Value

Type: System.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton>

CssClass Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement
A string representing the CSS classes that will be applied to the element.

Syntax

public string CssClass { get; set; }

Property Value

Type: string

DisplayText Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement
A string representing the text that will be displayed inside the element.

Syntax

public string DisplayText { get; set; }

Property Value

Type: string

IconClass Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement
A string representing the CSS class for the icon that will be rendered immediately before the InterfaceElement.DisplayText.

Syntax

public string IconClass { get; set; }

Property Value

Type: string

IsDisabledFunc Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public System.Func<bool> IsDisabledFunc { get; set; }

Property Value

Type: System.Func<bool>

ModalTarget Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public string ModalTarget { get; set; }

Property Value

Type: string

PopoverHeader Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public string PopoverHeader { get; set; }

Property Value

Type: string

PopoverName Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public string PopoverName { get; set; }

Property Value

Type: string

PopoverPlacement Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public string PopoverPlacement { get; set; }

Property Value

Type: string

Tooltip Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase
The text that will be displayed to the end user when the cursor is hovered over the button.

Syntax

public string Tooltip { get; set; }

Property Value

Type: string

TooltipContainer Inherited

Inherited from CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

Syntax

public string TooltipContainer { get; set; }

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?