> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/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

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor

#### Syntax

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

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor

Creates a new [ActionButton](/blazoressentials/api-reference/CloudNimble/BlazorEssentials/Navigation/ActionButton) 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>` | -           |

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .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>` | -           |

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .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`            | -           |

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### Syntax

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

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

Creates a new [ActionButton](/blazoressentials/api-reference/CloudNimble/BlazorEssentials/Navigation/ActionButton) 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>` | -           |

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### 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>` | -           |

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### 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`            | -           |

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`</Note>

#### Syntax

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

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`</Note>

#### Syntax

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

#### Parameters

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

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

## Properties

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> AccessibilityText <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

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`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> 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>`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Children <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### 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>`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> CssClass <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`</Note>

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`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> DisplayText <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`</Note>

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`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> IconClass <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.InterfaceElement`</Note>

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

#### Syntax

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

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> IsDisabledFunc <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### Syntax

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

#### Property Value

Type: `System.Func<bool>`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ModalTarget <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### Syntax

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

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> PopoverHeader <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### Syntax

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

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> PopoverName <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### Syntax

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

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> PopoverPlacement <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### Syntax

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

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Tooltip <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

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`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> TooltipContainer <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.BlazorEssentials.Navigation.ActionButtonBase`</Note>

#### Syntax

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

#### Property Value

Type: `string`

## Methods

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetHashCode <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Returns

Type: `int`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetType <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Returns

Type: `System.Type`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> MemberwiseClone <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Returns

Type: `object`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ReferenceEquals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ToString <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Returns

Type: `string?`
