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

Defines the fluent API for configuring the Kendo FloatingToolBar for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the FloatingToolBar class.

C#
public FloatingToolBarEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

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.

C#
public FloatingToolBarEventBuilder DragEnd(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DragEnd event.

Returns:

FloatingToolBarEventBuilder

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.

C#
public FloatingToolBarEventBuilder DragStart(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DragStart event.

Returns:

FloatingToolBarEventBuilder

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.

C#
public FloatingToolBarEventBuilder Hide(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Hide event.

Returns:

FloatingToolBarEventBuilder

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.

C#
public FloatingToolBarEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the KendoKeydown event.

Returns:

FloatingToolBarEventBuilder

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.

C#
public FloatingToolBarEventBuilder Move(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Move event.

Returns:

FloatingToolBarEventBuilder

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.

C#
public FloatingToolBarEventBuilder Show(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Show event.

Returns:

FloatingToolBarEventBuilder