# DialogActionBuilder

## Methods

### Text(System.String)

The text to be shown in the action's button.

#### Parameters

##### value - `System.String`

The value for Text

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### Action(System.String)

The callback function to be called after pressing the action button.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### Action(System.Func)

The callback function to be called after pressing the action button.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### Primary(System.Boolean)

A boolean property indicating whether the action button will be decorated as primary button or not.

#### Parameters

##### value - `System.Boolean`

The value for Primary

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### CssClass(System.String)

Adds a custom class to the action button.

#### Parameters

##### value - `System.String`

The value for CssClass

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### Icon(System.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.

#### Parameters

##### icon - `System.String`

The icon.

#### RETURNS

Returns the current instance of [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) .

### Icon(System.Action)

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.

#### Parameters

##### configurator - System.Action<[DialogActionIconSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactioniconsettingsbuilder)>

The configurator for the icon setting.

#### RETURNS

Returns the current instance of [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) .

### IconClass(System.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.

#### Parameters

##### value - `System.String`

The value for IconClass

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### Size(Kendo.Mvc.UI.ComponentSize)

Sets the size of the component.

#### Parameters

##### value - [ComponentSize](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/componentsize)

The value for Size

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### Rounded(Kendo.Mvc.UI.Rounded)

Sets a value controlling the border radius.

#### Parameters

##### value - [Rounded](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/rounded)

The value for Rounded

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### FillMode(Kendo.Mvc.UI.ButtonFillMode)

Sets a value controlling how the color is applied.

#### Parameters

##### value - [ButtonFillMode](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/buttonfillmode)

The value for FillMode

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.

### ThemeColor(Kendo.Mvc.UI.ThemeColor)

Sets the color of the component according to the applied theme.

#### Parameters

##### value - [ThemeColor](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/themecolor)

The value for ThemeColor

#### RETURNS

Returns the current [DialogActionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dialogactionbuilder) instance.
