Defines the fluent API for configuring ActionSheetActionButton
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ActionSheetActionButtonBuilder
Inheritance: objectActionSheetActionButtonBuilder
Inherited Members
Constructors
Initializes a new instance of the ActionSheetActionButtonBuilder class.
public ActionSheetActionButtonBuilder(ActionSheetActionButton container)
The ActionSheetActionButton settings.
Properties
Gets the ActionSheetActionButton settings being configured.
protected ActionSheetActionButton Container { get; }
Methods
Specifies the click event handler of the action button.
public ActionSheetActionButtonBuilder Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.
Specifies the click event handler of the action button.
public ActionSheetActionButtonBuilder Click(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.
If set to true, the action button will be disabled.
public ActionSheetActionButtonBuilder Disabled(bool value)
The value for Disabled
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.
Sets a value controlling how the color is applied.
public ActionSheetActionButtonBuilder FillMode(ButtonFillMode value)
The value for FillMode
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.
Specifies the icon's name of the action button.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.
public ActionSheetActionButtonBuilder Icon(Action<ActionSheetActionButtonIconSettingsBuilder> configurator)
The ActionSheetActionButtonIconSettingsBuilder for the icon setting.
Returns:ActionSheetActionButtonBuilder
Returns the current instance of ActionSheetActionButtonBuilder .
Specifies the icon's name of the action button.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.
public ActionSheetActionButtonBuilder Icon(string icon)
The icon.
Returns:ActionSheetActionButtonBuilder
Returns the current instance of ActionSheetActionButtonBuilder .
Specifies the icon's class of the action button.
public ActionSheetActionButtonBuilder IconClass(string value)
The value for IconClass
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.
Sets a value controlling the border radius.
public ActionSheetActionButtonBuilder Rounded(Rounded value)
The value for Rounded
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.
Sets the size of the component.
public ActionSheetActionButtonBuilder Size(ComponentSize value)
The value for Size
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.
Specifies the text of the action button.
public ActionSheetActionButtonBuilder Text(string value)
The value for Text
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.
Sets the color of the component according to the applied theme.
public ActionSheetActionButtonBuilder ThemeColor(ThemeColor value)
The value for ThemeColor
Returns:ActionSheetActionButtonBuilder
Returns the current ActionSheetActionButtonBuilder instance.