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 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 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 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 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 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.
Parameters
value - System.String
The value for Icon
RETURNS
Returns the current DialogActionBuilder instance.
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 instance.
Size(Kendo.Mvc.UI.ComponentSize)
Sets the size of the component.
Parameters
value - ComponentSize
The value for Size
RETURNS
Returns the current DialogActionBuilder instance.
Rounded(Kendo.Mvc.UI.Rounded)
Sets a value controlling the border radius.
Parameters
value - Rounded
The value for Rounded
RETURNS
Returns the current DialogActionBuilder instance.
FillMode(Kendo.Mvc.UI.ButtonFillMode)
Sets a value controlling how the color is applied.
Parameters
value - ButtonFillMode
The value for FillMode
RETURNS
Returns the current DialogActionBuilder instance.
ThemeColor(Kendo.Mvc.UI.ThemeColor)
Sets the color of the component according to the applied theme.
Parameters
value - ThemeColor
The value for ThemeColor
RETURNS
Returns the current DialogActionBuilder instance.