New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the DialogAction settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DialogActionBuilder

Inheritance: objectDialogActionBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DialogActionBuilder(DialogAction settings)
Parameters:settingsDialogAction

Methods

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

C#
public DialogActionBuilder Action(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the action action.

Returns:

DialogActionBuilder

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

C#
public DialogActionBuilder Action(string handler)
Parameters:handlerstring

The value that configures the action action.

Returns:

DialogActionBuilder

Adds a custom class to the action button.

C#
public DialogActionBuilder CssClass(string value)
Parameters:valuestring

The value that configures the cssclass.

Returns:

DialogActionBuilder

Sets a value controlling how the color is applied.

C#
public DialogActionBuilder FillMode(ButtonFillMode value)
Parameters:valueButtonFillMode

The value that configures the fillmode.

Returns:

DialogActionBuilder

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.

C#
public DialogActionBuilder Icon(string value)
Parameters:valuestring

The value that configures the icon.

Returns:

DialogActionBuilder

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.

C#
public DialogActionBuilder IconClass(string value)
Parameters:valuestring

The value that configures the iconclass.

Returns:

DialogActionBuilder

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

C#
public DialogActionBuilder Primary(bool value)
Parameters:valuebool

The value that configures the primary.

Returns:

DialogActionBuilder

Sets a value controlling the border radius.

C#
public DialogActionBuilder Rounded(Rounded value)
Parameters:valueRounded

The value that configures the rounded.

Returns:

DialogActionBuilder

Sets the size of the component.

C#
public DialogActionBuilder Size(ComponentSize value)
Parameters:valueComponentSize

The value that configures the size.

Returns:

DialogActionBuilder

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

C#
public DialogActionBuilder Text(string value)
Parameters:valuestring

The value that configures the text.

Returns:

DialogActionBuilder

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

C#
public DialogActionBuilder ThemeColor(ThemeColor value)
Parameters:valueThemeColor

The value that configures the themecolor.

Returns:

DialogActionBuilder