ButtonBuilder
Defines the fluent interface for configuring the Buttoncomponent.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ButtonBuilder : WidgetBuilderBase<Button, ButtonBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<Button, ButtonBuilder>ButtonBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the SliderBuilder<T>class.
Methods
If set to true a default overlay badge will be displayed. If set to a string, an ovelay with content set to the specified string will be displayed. Can be set to a JavaScript object which represents the configuration of the Badge widget.
public ButtonBuilder Badge(Action<ButtonBadgeSettingsBuilder> configurator)
The configurator for the badge setting.
Returns:Enables the badge
public ButtonBuilder Badge(bool enabled)
Specifies whether the badge is enabled.
Returns:Sets the value of the badge
Sets the HTML content of the Button.
public ButtonBuilder Content(Action content)
The action which renders the HTML content.
Returns:Sets the HTML content of the Button.
Sets whether Button should be enabled.
Configures the client-side events.
public ButtonBuilder Events(Action<ButtonEventBuilder> events)
The client events action.
Returns:Sets a value controlling how the color is applied.
public ButtonBuilder FillMode(ButtonFillMode? value)
The value for FillMode
Returns:Sets the icon name of the Button.
Sets the image URL of the Button.
Sets a value controlling the border radius.
public ButtonBuilder Rounded(Rounded? value)
The value for Rounded
Returns:Sets the size of the component.
public ButtonBuilder Size(ButtonSize? value)
The value for Size
Returns:Sets the sprite CSS class(es) of the Button.
Sets the Button HTML tag. A button tag is used by default.
Sets the color of the component according to the applied theme.
public ButtonBuilder ThemeColor(ThemeColor? value)
The value for ThemeColor
Returns: