New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring TaskBoardToolbarSettingsItem

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TCard

TColumn

Syntax:

C#
public class TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> where TCard : class where TColumn : class

Inheritance: objectTaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

TaskBoardToolbarSettingsItemBuilder method.

C#
public TaskBoardToolbarSettingsItemBuilder(TaskBoardToolbarSettingsItem<TCard, TColumn> container)
Parameters:containerTaskBoardToolbarSettingsItem<TCard, TColumn>

Properties

Container member.

C#
protected TaskBoardToolbarSettingsItem<TCard, TColumn> Container { get; }

Methods

Specifies the click handler of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Click(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the click handler of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Click(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the command of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Command(string value)
Parameters:valuestring

The value for Command

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies whether the control is initially enabled or disabled. Default value is "true".

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Enable(bool value)
Parameters:valuebool

The value for Enable

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Determines if a button is visible or hidden. By default buttons are visible.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Hidden()
Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Determines if a button is visible or hidden. By default buttons are visible.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Hidden(bool value)
Parameters:valuebool

The value for Hidden

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the HTML attributes of a ToolBar button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> HtmlAttributes(IDictionary<string, object> value)
Parameters:valueIDictionary<string, object>

The value for HtmlAttributes

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the HTML attributes of a ToolBar button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> HtmlAttributes(object value)
Parameters:valueobject

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.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Icon(Action<TaskBoardToolbarItemIconSettingsBuilder<TCard, TColumn>> configurator)
Parameters:configuratorAction<TaskBoardToolbarItemIconSettingsBuilder<TCard, TColumn>>

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.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Icon(string value)
Parameters:valuestring

The value for Icon

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the ID of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Id(string value)
Parameters:valuestring

The value for Id

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

If set, the ToolBar will render an image with the specified URL in the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> ImageUrl(string value)
Parameters:valuestring

The value for ImageUrl

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the name of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Name(string value)
Parameters:valuestring

The value for Name

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the command options of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Options(string value)
Parameters:valuestring

The value for Options

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the overflow of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Overflow(string value)
Parameters:valuestring

The value for Overflow

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies whether the button is primary. Primary buttons receive different styling.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Primary()
Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies whether the button is primary. Primary buttons receive different styling.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Primary(bool value)
Parameters:valuebool

The value for Primary

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> ShowIcon(string value)
Parameters:valuestring

The value for ShowIcon

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> ShowText(string value)
Parameters:valuestring

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.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> SpriteCssClass(string value)
Parameters:valuestring

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.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Template(string value)
Parameters:valuestring

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.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

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.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

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.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> TemplateId(string templateId)
Parameters:templateIdstring

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.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Sets the text of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Text(string value)
Parameters:valuestring

The value for Text

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies if the button is togglable, e.g. has a selected and unselected state.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Togglable()
Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies if the button is togglable, e.g. has a selected and unselected state.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Togglable(bool value)
Parameters:valuebool

The value for Togglable

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>

Specifies the type of the button.

C#
public TaskBoardToolbarSettingsItemBuilder<TCard, TColumn> Type(string value)
Parameters:valuestring

The value for Type

Returns:

TaskBoardToolbarSettingsItemBuilder<TCard, TColumn>