Skip to main content

Definition

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

Syntax

CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

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 ActionButtonBase()

.ctor

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

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

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

Test to be used for screen readers when this item is rendered.

Syntax

public string AccessibilityText { get; set; }

Property Value

Type: string

Children

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

Syntax

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

Property Value

Type: System.Func<bool>

ModalTarget

Syntax

public string ModalTarget { get; set; }

Property Value

Type: string

PopoverHeader

Syntax

public string PopoverHeader { get; set; }

Property Value

Type: string

PopoverName

Syntax

public string PopoverName { get; set; }

Property Value

Type: string

PopoverPlacement

Syntax

public string PopoverPlacement { get; set; }

Property Value

Type: string

Tooltip

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

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?