Defines the fluent API for configuring the Kendo FloatingToolBar for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FloatingToolBarEventBuilder : EventBuilder
Inheritance: objectEventBuilderFloatingToolBarEventBuilder
Inherited Members
Constructors
Initializes a new instance of the FloatingToolBar class.
public FloatingToolBarEventBuilder(IDictionary<string, object> events)
The client events.
Methods
Defines the handler of the DragEnd client-side event. Fired when the user finishes repositioning the FloatingToolBar, either by ending a pointer drag or by committing or canceling keyboard-driven Move mode.The event handler function context (available via the this keyword) will be set to the widget instance.
public FloatingToolBarEventBuilder DragEnd(string handler)
The name of the JavaScript function that will handle the DragEnd event.
Returns:Defines the handler of the DragStart client-side event. Fired when the user starts repositioning the FloatingToolBar, either by starting a pointer drag or by entering keyboard-driven Move mode. The event is cancelable — calling e.preventDefault() prevents the drag or Move mode from starting.The event handler function context (available via the this keyword) will be set to the widget instance.
public FloatingToolBarEventBuilder DragStart(string handler)
The name of the JavaScript function that will handle the DragStart event.
Returns:Defines the handler of the Hide client-side event. Fired when the FloatingToolBar transitions from visible to hidden as a result of a successful hide call. The event is cancelable — calling e.preventDefault() prevents the toolbar from becoming hidden. A hide call made while the toolbar is already hidden does not fire this event, since no Hidden/Visible transition occurs.The event handler function context (available via the this keyword) will be set to the widget instance.
public FloatingToolBarEventBuilder Hide(string handler)
The name of the JavaScript function that will handle the Hide event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the FloatingToolBar is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public FloatingToolBarEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the Move client-side event. Fired when the position of the FloatingToolBar changes as a result of a pointer drag, keyboard-driven Move mode, or a call to the setPosition method.The event handler function context (available via the this keyword) will be set to the widget instance.
public FloatingToolBarEventBuilder Move(string handler)
The name of the JavaScript function that will handle the Move event.
Returns:Defines the handler of the Show client-side event. Fired when the FloatingToolBar transitions from hidden to visible as a result of a successful show call. The event is cancelable — calling e.preventDefault() prevents the toolbar from becoming visible. A show call made while the toolbar is already visible (for example, calling show() only to retarget or reposition an open toolbar) does not fire this event, since no Hidden/Visible transition occurs.The event handler function context (available via the this keyword) will be set to the widget instance.
public FloatingToolBarEventBuilder Show(string handler)
The name of the JavaScript function that will handle the Show event.
Returns: