New to Telerik UI for ASP.NET MVC? Download free 30-day trial

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.

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")
    )
%>
In this article
Not finding the help you need?