Defines the fluent API for configuring SpreadsheetToolbarSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpreadsheetToolbarSettingsBuilder
Inheritance: objectSpreadsheetToolbarSettingsBuilder
Inherited Members
Constructors
SpreadsheetToolbarSettingsBuilder method.
public SpreadsheetToolbarSettingsBuilder(SpreadsheetToolbarSettings container)
Properties
Gets the settings being configured.
protected SpreadsheetToolbarSettings Container { get; }
Methods
A collection of tools that will be shown in the Data tab of the Toolbar.
public SpreadsheetToolbarSettingsBuilder Data(Action<SpreadsheetToolFactory> configurator)
An action that configures the tools.
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A Boolean value which indicates if the Data tab or a collection of tools that will be shown in the Data tab will be displayed.The available tools are: sort; filter or validation.
public SpreadsheetToolbarSettingsBuilder Data(bool value)
The value for Data
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A collection of tools that will be shown in the File tab of the Toolbar.
public SpreadsheetToolbarSettingsBuilder File(Action<SpreadsheetToolFactory> configurator)
An action that configures the tools.
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A Boolean value which indicates if the File tab or a collection of tools that will be shown in the File tab will be displayed.
public SpreadsheetToolbarSettingsBuilder File(bool value)
The value for File
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A collection of tools that will be shown in the Format tab of the Toolbar.
public SpreadsheetToolbarSettingsBuilder Format(Action<SpreadsheetToolFactory> configurator)
An action that configures the tools.
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A Boolean value which indicates if the Format tab or a collection of tools that will be shown in the Format tab will be displayed.
public SpreadsheetToolbarSettingsBuilder Format(bool value)
The value for Format
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
Configure the available tools in the Home tab.
public SpreadsheetToolbarSettingsBuilder Home(Action<SpreadsheetToolFactory> configurator)
An action that configures the tools.
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A Boolean value which indicates if the Home tab or a collection of tools that will be shown in the Home tab will be displayed.The following list indicates the available tools. The tools which are part of a tool group are defined as an array. For example ["bold", "italic", "underline"]. open; exportAs; [cut, copy, paste]; [bold, italic, underline]; backgroundColor, textColor; borders; fontSize, fontFamily; alignment; textWrap; [formatDecreaseDecimal, formatIncreaseDecimal]; format; merge; freeze or filter.
public SpreadsheetToolbarSettingsBuilder Home(bool value)
The value for Home
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A collection of tools that will be shown in the Insert tab of the Toolbar.
public SpreadsheetToolbarSettingsBuilder Insert(Action<SpreadsheetToolFactory> configurator)
An action that configures the tools.
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A Boolean value which indicates if the Insert tab or a collection of tools that will be shown in the Insert tab will be displayed.The following list indicates the available tools. The tools which are part of a tool group are defined as an array. For example ["deleteColumn", "deleteRow"]. [ addColumnLeft, addColumnRight, addRowBelow, addRowAbove ] or [ deleteColumn, deleteRow ].
public SpreadsheetToolbarSettingsBuilder Insert(bool value)
The value for Insert
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A collection of tools that will be shown in the View tab of the Toolbar.
public SpreadsheetToolbarSettingsBuilder View(Action<SpreadsheetToolFactory> configurator)
An action that configures the tools.
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.
A Boolean value which indicates if the View tab or a collection of tools that will be shown in the View tab will be displayed.
public SpreadsheetToolbarSettingsBuilder View(bool value)
The value for View
Returns:SpreadsheetToolbarSettingsBuilder
Returns the current SpreadsheetToolbarSettingsBuilder instance.