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

Defines the fluent API for configuring the TaskBoardColumnSettingsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TCard

TColumn

Syntax:

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

Inheritance: objectTaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

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

Constructors

Initialize the TaskBoardColumnSettingsSettingsBuilder

C#
public TaskBoardColumnSettingsSettingsBuilder(TaskBoardColumnSettingsSettings settings)
Parameters:settingsTaskBoardColumnSettingsSettings

The TaskBoardColumnSettingsSettings

Methods

Defines the list of buttons rendered in the column.

C#
public TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn> Buttons(Action<TaskBoardColumnSettingsSettingsButtonFactory<TCard, TColumn>> configurator)
Parameters:configuratorAction<TaskBoardColumnSettingsSettingsButtonFactory<TCard, TColumn>>

The action that configures the buttons.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

The field used to order columns (number based). Automatically adds sorting to the columns DataSource instance.If not set, columns will be rendered in the order they are fetched. And ordering will not be applied to the DataSource and respectively, not synced with the remote data source.

C#
public TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn> DataOrderField(string value)
Parameters:valuestring

The value that configures the dataorderfield.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.ColumnSettings(c =&gt; c.DataOrderField("Order"))
)

The field of the data item that provides the status of the column. Mapped with the status of the cards.

C#
public TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn> DataStatusField(string value)
Parameters:valuestring

The value that configures the datastatusfield.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.ColumnSettings(c =&gt; c.DataStatusField("Status"))
)

The text field of the column.

C#
public TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn> DataTextField(string value)
Parameters:valuestring

The value that configures the datatextfield.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.ColumnSettings(c =&gt; c.DataTextField("Description"))
)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

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

The value that configures the template.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.ColumnSettings(c =&gt; c.Template("template"))
)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

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

A Template component that configures the template.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

C#
public TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn> TemplateHandler(string value)
Parameters:valuestring

The value that configures the template.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.ColumnSettings(c =&gt; c.TemplateHandler("handlerName"))
)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

C#
public TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn> TemplateId(string value)
Parameters:valuestring

The value that configures the template.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.ColumnSettings(c =&gt; c.TemplateId("templateId"))
)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

C#
public TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn> TemplateView(MvcHtmlString value)
Parameters:valueMvcHtmlString

The value that configures the template.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.ColumnSettings(c =&gt; c.TemplateView(new System.Web.Mvc.MvcHtmlString("&lt;div&gt;#= ColumnName #&lt;/div&gt;")))
)

Configures the width of the columns

C#
public TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn> Width(string value)
Parameters:valuestring

The value that configures the width.

Returns:

TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.ColumnSettings(c =&gt; c.Width("700px"))
)