Kendo.Mvc.UI.Fluent.FloatingActionButtonBuilder
Defines the fluent API for configuring the Kendo FloatingActionButton for ASP.NET MVC.
Methods
Enabled(System.Boolean)
Specifies whether the FloatingActionButton is enabled (true) or disabled (false).
Parameters
value System.Boolean
The value that configures the enabled.
Icon(System.String)
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.
Parameters
value System.String
The value that configures the icon.
Items(System.Action<Kendo.Mvc.UI.Fluent.FloatingActionButtonItemFactory>)
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.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.FloatingActionButtonItemFactory>
The action that configures the items.
Text(System.String)
Specifies the text of the FloatingActionButton. Default is empty string.
Parameters
value System.String
The value that configures the text.
Visible(System.Boolean)
Specifies if the FloatingActionButton is visible initially.
Parameters
value System.Boolean
The value that configures the visible.
PositionMode(Kendo.Mvc.UI.FloatingActionButtonPositionMode)
Defines the type of positioning
Parameters
value Kendo.Mvc.UI.FloatingActionButtonPositionMode
The value that configures the positionmode.
ThemeColor(Kendo.Mvc.UI.FloatingActionButtonThemeColor)
Specifies the color of the component
Parameters
value Kendo.Mvc.UI.FloatingActionButtonThemeColor
The value that configures the themecolor.
Size(Kendo.Mvc.UI.FloatingActionButtonSize)
Specifies the size of the component
Parameters
value Kendo.Mvc.UI.FloatingActionButtonSize
The value that configures the size.
Shape(Kendo.Mvc.UI.FloatingActionButtonShape)
Specifies the shape of the component
Parameters
value Kendo.Mvc.UI.FloatingActionButtonShape
The value that configures the shape.
Rounded(Kendo.Mvc.UI.FloatingActionButtonRounded)
Sets a value controlling the border radius.
Parameters
value Kendo.Mvc.UI.FloatingActionButtonRounded
The value that configures the rounded.
FillMode(Kendo.Mvc.UI.FloatingActionButtonFillMode)
Sets a value controlling how the color is applied.
Parameters
value Kendo.Mvc.UI.FloatingActionButtonFillMode
The value that configures the fillmode.
Align(Kendo.Mvc.UI.FloatingActionButtonAlign)
Defines the alignment of the FloatingActionButton
Parameters
value Kendo.Mvc.UI.FloatingActionButtonAlign
The value that configures the align.
AlignOffset(System.Action<Kendo.Mvc.UI.Fluent.FloatingActionButtonAlignOffsetBuilder>)
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.FloatingActionButtonAlignOffsetBuilder>
The action that configures the align offset.
Events(System.Action<Kendo.Mvc.UI.Fluent.FloatingActionButtonEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.FloatingActionButtonEventBuilder>
The client events action.
Example (ASPX)
<%= Html.Kendo().FloatingActionButton()
.Name("FloatingActionButton")
.Events(events => events
.Click("onClick")
)
%>