ToolBarEventBuilder
Defines the fluent API for configuring the Kendo UI ToolBar for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ToolBarEventBuilder : EventBuilder
Inheritance: objectEventBuilderToolBarEventBuilder
Inherited Members
Constructors
Initializes a new instance of the ToolBarEventBuilder class.
public ToolBarEventBuilder(IDictionary<string, object> events)
The ToolBar event handlers.
Methods
Defines the handler of the Click client-side event. Fires when the user clicks a command button.
public ToolBarEventBuilder Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the Click client-side event. Fires when the user clicks a command button.
public ToolBarEventBuilder Click(string handler)
The name of the JavaScript function that will handle the Click event.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the Close client-side event. Fires when the SplitButton's popup closes.
public ToolBarEventBuilder Close(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the Close client-side event. Fires when the SplitButton's popup closes.
public ToolBarEventBuilder Close(string handler)
The name of the JavaScript function that will handle the Close event.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ToolBar is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ToolBarEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ToolBar is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ToolBarEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the Open client-side event. Fires when the Split Button's popup opens.
public ToolBarEventBuilder Open(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the Open client-side event. Fires when the Split Button's popup opens.
public ToolBarEventBuilder Open(string handler)
The name of the JavaScript function that will handle the Open event.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the OverflowClose client-side event. Fires when the overflow popup container is about to close.
public ToolBarEventBuilder OverflowClose(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the OverflowClose client-side event. Fires when the overflow popup container is about to close.
public ToolBarEventBuilder OverflowClose(string handler)
The name of the JavaScript function that will handle the OverflowClose event.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the OverflowOpen client-side event. Fires when the overflow popup container is about to open.
public ToolBarEventBuilder OverflowOpen(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the OverflowOpen client-side event. Fires when the overflow popup container is about to open.
public ToolBarEventBuilder OverflowOpen(string handler)
The name of the JavaScript function that will handle the OverflowOpen event.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the Toggle client-side event. Fires when the user changes the checked state of a toggle button.
public ToolBarEventBuilder Toggle(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ToolBarEventBuilder .
Defines the handler of the Toggle client-side event. Fires when the user changes the checked state of a toggle button.
public ToolBarEventBuilder Toggle(string handler)
The name of the JavaScript function that will handle the Toggle event.
Returns:Returns the current instance of ToolBarEventBuilder .