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