Provides a fluent interface for configuring Grid toolbar settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
The type of the data model.
Syntax:
C#
public class GridToolBarSettingsBuilder<T> where T : class
Inheritance: objectGridToolBarSettingsBuilder<T>
Inherited Members
Constructors
C#
public GridToolBarSettingsBuilder(GridToolBarSettings<T> container, GridMessagesCommandsSettings messagesSettings)
Properties
C#
protected GridToolBarSettings<T> Container { get; }
Methods
A JavaScript array that contains the ToolBar's commands configuration.
C#
public GridToolBarSettingsBuilder<T> Items(Action<GridToolBarCommandFactoryBase<T>> configurator)
The configurator for the items setting.
Returns:Configures the overflow behavior of the ToolBar.
C#
public GridToolBarSettingsBuilder<T> Overflow(Action<GridToolbarOverflowSettingsBuilder> configurator)
The configurator for the overflow setting.
Returns:If set to true, the toolbar will show the inactive tools in a disabled state. By default the tools will be hidden.
C#
public GridToolBarSettingsBuilder<T> ShowInactiveTools(bool value)
The value that determines if inactive tools will be shown in a disabled state.
Returns: