Defines the fluent API for configuring the Kendo UI FloatingActionButton for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FloatingActionButtonEventBuilder : EventBuilder
Inheritance: objectEventBuilderFloatingActionButtonEventBuilder
Inherited Members
Constructors
Initializes a new instance of the FloatingActionButtonEventBuilder class.
public FloatingActionButtonEventBuilder(IDictionary<string, object> events)
The FloatingActionButton event handlers.
Methods
Defines the handler of the Click client-side event. Fires when the user clicks on a the FloatingActionButton.**Note: when using items configuration, clicking on the FloatingActionButton will open the speed-dial list popup.
public FloatingActionButtonEventBuilder Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:FloatingActionButtonEventBuilder
Returns the current instance of FloatingActionButtonEventBuilder .
Defines the handler of the Click client-side event. Fires when the user clicks on a the FloatingActionButton.**Note: when using items configuration, clicking on the FloatingActionButton will open the speed-dial list popup.
public FloatingActionButtonEventBuilder Click(string handler)
The name of the JavaScript function that will handle the Click event.
Returns:FloatingActionButtonEventBuilder
Returns the current instance of FloatingActionButtonEventBuilder .
Defines the handler of the Collapse client-side event. Fires when the speed-dial popup is closed and its animation is finished.**Note: this event is triggered only when using items configuration.
public FloatingActionButtonEventBuilder Collapse(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:FloatingActionButtonEventBuilder
Returns the current instance of FloatingActionButtonEventBuilder .
Defines the handler of the Collapse client-side event. Fires when the speed-dial popup is closed and its animation is finished.**Note: this event is triggered only when using items configuration.
public FloatingActionButtonEventBuilder Collapse(string handler)
The name of the JavaScript function that will handle the Collapse event.
Returns:FloatingActionButtonEventBuilder
Returns the current instance of FloatingActionButtonEventBuilder .
Defines the handler of the Expand client-side event. Fires when the speed-dial popup is opened and its animation is finished.**Note: this event is triggered only when using items configuration.
public FloatingActionButtonEventBuilder Expand(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:FloatingActionButtonEventBuilder
Returns the current instance of FloatingActionButtonEventBuilder .
Defines the handler of the Expand client-side event. Fires when the speed-dial popup is opened and its animation is finished.**Note: this event is triggered only when using items configuration.
public FloatingActionButtonEventBuilder Expand(string handler)
The name of the JavaScript function that will handle the Expand event.
Returns:FloatingActionButtonEventBuilder
Returns the current instance of FloatingActionButtonEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the FloatingActionButton is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public FloatingActionButtonEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:FloatingActionButtonEventBuilder
Returns the current instance of FloatingActionButtonEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the FloatingActionButton is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public FloatingActionButtonEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:FloatingActionButtonEventBuilder
Returns the current instance of FloatingActionButtonEventBuilder .