ToolBarBuilder
Defines the fluent API for configuring the Kendo UI ToolBar
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ToolBarBuilder : WidgetBuilderBase<ToolBar, ToolBarBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<ToolBar, ToolBarBuilder>ToolBarBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ToolBarBuilder class.
Methods
Configures the client-side events.
public ToolBarBuilder Events(Action<ToolBarEventBuilder> configurator)
The client events action.
Returns:Returns the current ToolBarBuilder instance.
A JavaScript array that contains the ToolBar's commands configuration.
public ToolBarBuilder Items(Action<ToolBarItemFactory> configurator)
The ToolBarItemFactory for the items setting.
Returns:Returns the current instance of ToolBarBuilder .
If set to true this configuration option would enable Tab-based navigation among ToolBar items.
If set to true this configuration option would enable Tab-based navigation among ToolBar items.
public ToolBarBuilder NavigateOnTab(bool value)
The value for NavigateOnTab
Returns:Returns the current ToolBarBuilder instance.
Configures the overflow behavior of the ToolBar.
public ToolBarBuilder Overflow(Action<ToolBarOverflowSettingsBuilder> configurator)
The ToolBarOverflowSettingsBuilder for the overflow setting.
Returns:Returns the current instance of ToolBarBuilder .
If resizable is set to true the widget will detect changes in the viewport width and hides the overflowing controls in the command overflow popup.
public ToolBarBuilder Resizable(bool value)
The value for Resizable
Returns:Returns the current ToolBarBuilder instance.
Specifies the size of the component. Default is Medium.
public ToolBarBuilder Size(ComponentSize value)
The value for Size
Returns:Returns the current ToolBarBuilder instance.