Defines the fluent API for configuring the Kendo FloatingActionButton for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FloatingActionButtonBuilder : WidgetBuilderBase<FloatingActionButton, FloatingActionButtonBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<FloatingActionButton, FloatingActionButtonBuilder>FloatingActionButtonBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the FloatingActionButton class.
public FloatingActionButtonBuilder(FloatingActionButton component)
The component.
Methods
Defines the alignment of the FloatingActionButton
public FloatingActionButtonBuilder Align(FloatingActionButtonAlign value)
The value that configures the align.
Returns:Defines the alignment offset of the FloatingActionButton
public FloatingActionButtonBuilder AlignOffset(Action<FloatingActionButtonAlignOffsetBuilder> configurator)
The action that configures the align offset.
Returns:Specifies whether the FloatingActionButton is enabled (true) or disabled (false).
public FloatingActionButtonBuilder Enabled(bool value)
The value that configures the enabled state.
Returns:Configures the client-side events.
public FloatingActionButtonBuilder Events(Action<FloatingActionButtonEventBuilder> configurator)
The client events action.
Returns:Sets a value controlling how the color is applied.
public FloatingActionButtonBuilder FillMode(FloatingActionButtonFillMode value)
The value that configures the fillmode.
Returns:Specifies the name for an existing icon in a Kendo UI theme that is rendered in the FloatingActionButton.See the Web Font Icons help article for more details on Kendo UI icons.
public FloatingActionButtonBuilder Icon(string value)
The value that configures the icon.
Returns:Specifies the speed-dial items that will be rendered in a popup container anchored to the FloatingActionButton.**Note: when using the items configuration, clicking on the FloatingActionButton will open the popup containing the speed-dial list.
public FloatingActionButtonBuilder Items(Action<FloatingActionButtonItemFactory> configurator)
The action that configures the items.
Returns:Defines the type of positioning
public FloatingActionButtonBuilder PositionMode(FloatingActionButtonPositionMode value)
The value that configures the positionmode.
Returns:Sets a value controlling the border radius.
public FloatingActionButtonBuilder Rounded(FloatingActionButtonRounded value)
The value that configures the rounded.
Returns:Specifies the size of the component
public FloatingActionButtonBuilder Size(FloatingActionButtonSize value)
The value that configures the size.
Returns:Specifies the text of the FloatingActionButton. Default is empty string.
public FloatingActionButtonBuilder Text(string value)
The value that configures the text.
Returns:Specifies the color of the component
public FloatingActionButtonBuilder ThemeColor(FloatingActionButtonThemeColor value)
The value that configures the themecolor.
Returns:Specifies if the FloatingActionButton is visible initially.
public FloatingActionButtonBuilder Visible(bool value)
The value that configures the visible.
Returns: