Defines the fluent API for configuring the TaskBoardToolbarSettingsItem settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TCard
TColumn
Syntax:
public class TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> where TCard : class where TColumn : class
Inheritance: objectTaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Inherited Members
Constructors
Initialize the TaskBoardToolbarSettingsItemBuilder
public TaskBoardToolbarSettingsItemBuilder(TaskBoardToolbarSettingsItem settings)
Methods
Specifies the click handler of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Click(string value)
The value that configures the click.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the command of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Command(string value)
The value that configures the command.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies whether the control is initially enabled or disabled. Default value is "true".
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Enable(bool value)
The value that configures the enable.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Determines if a button is visible or hidden. By default buttons are visible.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Hidden(bool value)
The value that configures the hidden.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> HtmlAttributes(IDictionary<string, object> value)
TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the HTML attributes of a ToolBar button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> HtmlAttributes(object value)
The value that configures the htmlattributes.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Icon(string value)
The value that configures the icon.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the ID of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Id(string value)
The value that configures the id.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
If set, the ToolBar will render an image with the specified URL in the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> ImageUrl(string value)
The value that configures the imageurl.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the name of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Name(string value)
The value that configures the name.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the command options of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Options(string value)
The value that configures the options.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the overflow of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Overflow(string value)
The value that configures the overflow.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies whether the button is primary. Primary buttons receive different styling.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Primary(bool value)
The value that configures the primary.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> ShowIcon(string value)
The value that configures the showicon.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> ShowText(string value)
The value that configures the showtext.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> SpriteCssClass(string value)
The value that configures the spritecssclass.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Template(string value)
The value that configures the template.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> TemplateHandler(string value)
The value that configures the template.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> TemplateId(string value)
The value that configures the template.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> TemplateView(MvcHtmlString value)
The value that configures the template.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Sets the text of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Text(string value)
The value that configures the text.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies if the button is togglable, e.g. has a selected and unselected state.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Togglable(bool value)
The value that configures the togglable.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the type of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Type(string value)
The value that configures the type.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>