# DialogActionTagHelper

## Example

```
<action>
    <icon />
</action>
```

## ChildTags

| Tag Name | Details                                                                                                                                              |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| icon     | [DialogActionIconSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/dialogactioniconsettingstaghelper) |

## Attributes

| Attribute   | Type                                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ----------- | ------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| action      | String                                                                                                 | The callback function to be called after pressing the action button.                                                                                                                                                                                                                                                                                                                                                          |
| css-class   | String                                                                                                 | Adds a custom class to the action button.                                                                                                                                                                                                                                                                                                                                                                                     |
| fill-mode   | [ButtonFillMode](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/buttonfillmode) | Sets a value controlling how the color is applied.                                                                                                                                                                                                                                                                                                                                                                            |
| icon        | String                                                                                                 | Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a span element inside the action button. For a list of available icon names, please refer to the List of Icons.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons. |
| icon-class  | String                                                                                                 | Defines a CSS class - or multiple classes separated by spaced - which are applied to a span element inside the action button. Allows the usage of custom icons.                                                                                                                                                                                                                                                               |
| primary     | Boolean                                                                                                | A boolean property indicating whether the action button will be decorated as primary button or not.                                                                                                                                                                                                                                                                                                                           |
| rounded     | [Rounded](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/rounded)               | Sets a value controlling the border radius.                                                                                                                                                                                                                                                                                                                                                                                   |
| size        | [ComponentSize](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/componentsize)   | Sets the size of the component.                                                                                                                                                                                                                                                                                                                                                                                               |
| text        | String                                                                                                 | The text to be shown in the action's button.                                                                                                                                                                                                                                                                                                                                                                                  |
| theme-color | [ThemeColor](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/themecolor)         | Sets the color of the component according to the applied theme.                                                                                                                                                                                                                                                                                                                                                               |
