> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# ActionButton

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

## Definition

**Assembly:** CloudNimble.BlazorEssentials.dll

**Namespace:** CloudNimble.BlazorEssentials.Navigation

**Inheritance:** CloudNimble.BlazorEssentials.Navigation.ActionButtonBase

## Syntax

```csharp theme={"dark"}
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

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public ActionButton()
```

### &#x20;.ctor

Creates a new [ActionButton](https://easyaf.nimbleapps.cloud/blazoressentials/api-reference/CloudNimble/BlazorEssentials/Navigation/ActionButton.md) instance specifically for icon-only buttons, usually in the header or footer.

#### Syntax

```csharp theme={"dark"}
public ActionButton(string iconClass, string tooltip, System.Action<T> actionMethod = null, System.Func<bool> isDisabledFunc = null)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `iconClass` | `string` | - |
| `tooltip` | `string` | - |
| `actionMethod` | `System.Action<T>` | - |
| `isDisabledFunc` | `System.Func<bool>` | - |

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
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

| Name | Type | Description |
| - | - | - |
| `buttonText` | `string` | - |
| `buttonClass` | `string` | - |
| `iconClass` | `string` | - |
| `popoverName` | `string` | - |
| `popoverHeader` | `string` | - |
| `popoverPlacement` | `string` | - |
| `isDisabledFunc` | `System.Func<bool>` | - |
| `children` | `System.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton>` | - |

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
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

| Name | Type | Description |
| - | - | - |
| `buttonText` | `string` | - |
| `buttonClass` | `string` | - |
| `iconClass` | `string` | - |
| `actionMethod` | `System.Action<T>` | - |
| `isDisabledFunc` | `System.Func<bool>` | - |
| `tooltip` | `string` | - |
| `tooltipContainer` | `string` | - |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public ActionButtonBase()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

Creates a new [ActionButton](https://easyaf.nimbleapps.cloud/blazoressentials/api-reference/CloudNimble/BlazorEssentials/Navigation/ActionButton.md) instance specifically for icon-only buttons, usually in the header or footer.

#### Syntax

```csharp theme={"dark"}
public ActionButtonBase(string iconClass, string tooltip, System.Func<bool> isDisabledFunc = null)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `iconClass` | `string` | - |
| `tooltip` | `string` | - |
| `isDisabledFunc` | `System.Func<bool>` | - |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
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

| Name | Type | Description |
| - | - | - |
| `buttonText` | `string` | - |
| `buttonClass` | `string` | - |
| `iconClass` | `string` | - |
| `popoverName` | `string` | - |
| `popoverHeader` | `string` | - |
| `popoverPlacement` | `string` | - |
| `isDisabledFunc` | `System.Func<bool>` | - |
| `children` | `System.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton>` | - |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public ActionButtonBase(string buttonText, string buttonClass, string iconClass, System.Func<bool> isDisabledFunc = null, string tooltip = null, string tooltipContainer = "body")
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `buttonText` | `string` | - |
| `buttonClass` | `string` | - |
| `iconClass` | `string` | - |
| `isDisabledFunc` | `System.Func<bool>` | - |
| `tooltip` | `string` | - |
| `tooltipContainer` | `string` | - |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`

#### Syntax

```csharp theme={"dark"}
public InterfaceElement()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`

#### Syntax

```csharp theme={"dark"}
public InterfaceElement(string displayText, string iconClass, string cssClass = null)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `displayText` | `string` | - |
| `iconClass` | `string` | - |
| `cssClass` | `string` | - |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;AccessibilityText Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

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

#### Syntax

```csharp theme={"dark"}
public string AccessibilityText { get; set; }
```

#### Property Value

Type: `string`

### &#x20;ActionMethod

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

#### Syntax

```csharp theme={"dark"}
public System.Action<T> ActionMethod { get; set; }
```

#### Property Value

Type: `System.Action<T>`

### &#x20;Children Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.ActionButton> Children { get; set; }
```

#### Property Value

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

### &#x20;CssClass Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`

A string representing the CSS classes that will be applied to the element.

#### Syntax

```csharp theme={"dark"}
public string CssClass { get; set; }
```

#### Property Value

Type: `string`

### &#x20;DisplayText Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`

A string representing the text that will be displayed inside the element.

#### Syntax

```csharp theme={"dark"}
public string DisplayText { get; set; }
```

#### Property Value

Type: `string`

### &#x20;IconClass Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`

A string representing the CSS class for the icon that will be rendered immediately before the [InterfaceElement.DisplayText](https://easyaf.nimbleapps.cloud/blazoressentials/api-reference/CloudNimble/BlazorEssentials/InterfaceElement.md#displaytext).

#### Syntax

```csharp theme={"dark"}
public string IconClass { get; set; }
```

#### Property Value

Type: `string`

### &#x20;IsDisabledFunc Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public System.Func<bool> IsDisabledFunc { get; set; }
```

#### Property Value

Type: `System.Func<bool>`

### &#x20;ModalTarget Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public string ModalTarget { get; set; }
```

#### Property Value

Type: `string`

### &#x20;PopoverHeader Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public string PopoverHeader { get; set; }
```

#### Property Value

Type: `string`

### &#x20;PopoverName Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public string PopoverName { get; set; }
```

#### Property Value

Type: `string`

### &#x20;PopoverPlacement Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public string PopoverPlacement { get; set; }
```

#### Property Value

Type: `string`

### &#x20;Tooltip Inherited

> [!NOTE]
>
> 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

```csharp theme={"dark"}
public string Tooltip { get; set; }
```

#### Property Value

Type: `string`

### &#x20;TooltipContainer Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`

#### Syntax

```csharp theme={"dark"}
public string TooltipContainer { get; set; }
```

#### Property Value

Type: `string`

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.