Defines the fluent API for configuring TaskBoardToolbarSettingsItem
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
TaskBoardToolbarSettingsItemBuilder method.
public TaskBoardToolbarSettingsItemBuilder(TaskBoardToolbarSettingsItem<TCard, TColumn> container)
Properties
Container
TaskBoardToolbarSettingsItem<TCard, TColumn>
Container member.
protected TaskBoardToolbarSettingsItem<TCard, TColumn> Container { get; }
Methods
Specifies the click handler of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the click handler of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Click(string handler)
The name of the JavaScript function that will be evaluated.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the command of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Command(string value)
The value for 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 for Enable
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Determines if a button is visible or hidden. By default buttons are visible.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Hidden()
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 for Hidden
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the HTML attributes of a ToolBar button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> HtmlAttributes(IDictionary<string, object> value)
The value for HtmlAttributes
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the HTML attributes of a ToolBar button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> HtmlAttributes(object value)
The value for HtmlAttributes
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Sets icon for the item. Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Icon(Action<TaskBoardToolbarItemIconSettingsBuilder<TCard, TColumn>> configurator)
The TaskBoardToolbarItemIconSettingsBuilder<TCard, TColumn> for the icon setting.
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Returns the current instance of 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 for Icon
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the ID of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Id(string value)
The value for 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 for ImageUrl
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the name of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Name(string value)
The value for Name
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the command options of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Options(string value)
The value for Options
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the overflow of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Overflow(string value)
The value for Overflow
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies whether the button is primary. Primary buttons receive different styling.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Primary()
TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies whether the button is primary. Primary buttons receive different styling.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Primary(bool value)
The value for 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 for 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 for 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 for 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 for 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 templateHandler)
The handler that returs the template for 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 templateId)
The ID of the template element for 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(IHtmlContent templateView)
The view that contains the template for Template
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Sets the text of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Text(string value)
The value for Text
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies if the button is togglable, e.g. has a selected and unselected state.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Togglable()
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 for Togglable
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>
Specifies the type of the button.
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Type(string value)
The value for Type
Returns:TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>