FloatingToolBarEventBuilder
Methods
Show(System.String)
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.
For more information see Show event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Show event.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
Show(System.Func)
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.
For more information see Show event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
Hide(System.String)
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.
For more information see Hide event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Hide event.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
Hide(System.Func)
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.
For more information see Hide event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
DragStart(System.String)
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.
For more information see DragStart event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the DragStart event.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
DragStart(System.Func)
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.
For more information see DragStart event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
Move(System.String)
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.
For more information see Move event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Move event.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
Move(System.Func)
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.
For more information see Move event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
DragEnd(System.String)
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.
For more information see DragEnd event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the DragEnd event.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
DragEnd(System.Func)
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.
For more information see DragEnd event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
KendoKeydown(System.String)
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.
For more information see KendoKeydown event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the KendoKeydown event.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .
KendoKeydown(System.Func)
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.
For more information see KendoKeydown event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of FloatingToolBarEventBuilder .