Kendo.Mvc.UI.Fluent.FloatingActionButtonBuilder
Defines the fluent API for configuring the Kendo UI FloatingActionButton
Methods
AlignOffset(System.Action<Kendo.Mvc.UI.Fluent.FloatingActionButtonAlignOffsetBuilder>)
Specifies the horizontal and vertical offset of the FloatingActionButton.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.FloatingActionButtonAlignOffsetBuilder>
The configurator for the AlignOffset setting.
Enabled(System.Boolean)
Specifies whether the FloatingActionButton is enabled (true) or disabled (false).
Parameters
value System.Boolean
The value for 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 for 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 configurator for the items setting.
Text(System.String)
Specifies the text of the FloatingActionButton. Default is empty string.
Parameters
value System.String
The value for Text
Visible(System.Boolean)
Specifies if the FloatingActionButton is visible initially.
Parameters
value System.Boolean
The value for Visible
Size(Kendo.Mvc.UI.FloatingActionButtonSize)
Defines the size of the component
Parameters
value Kendo.Mvc.UI.FloatingActionButtonSize
The value for Size
Align(Kendo.Mvc.UI.FloatingActionButtonAlign)
Defines the alignment of the component
Parameters
value Kendo.Mvc.UI.FloatingActionButtonAlign
The value for Align
PositionMode(Kendo.Mvc.UI.FloatingActionButtonPositionMode)
Defines the position of the component
Parameters
value Kendo.Mvc.UI.FloatingActionButtonPositionMode
The value for PositionMode
Shape(Kendo.Mvc.UI.FloatingActionButtonShape)
Defines the shape of the component
Parameters
value Kendo.Mvc.UI.FloatingActionButtonShape
The value for Shape
ThemeColor(Kendo.Mvc.UI.FloatingActionButtonThemeColor)
Defines the theme color of the component
Parameters
value Kendo.Mvc.UI.FloatingActionButtonThemeColor
The value for ThemeColor
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")
)
)