Defines the fluent API for configuring the Kendo TaskBoard for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TCard
TColumn
Syntax:
public class TaskBoardBuilder<TCard, TColumn> : WidgetBuilderBase<TaskBoard<TCard, TColumn>, TaskBoardBuilder<TCard, TColumn>>, IHtmlString where TCard : class where TColumn : class
Inheritance: objectWidgetBuilderBase<TaskBoard<TCard, TColumn>, TaskBoardBuilder<TCard, TColumn>>TaskBoardBuilder<TCard, TColumn>
Implements:
Inherited Members
Constructors
Initializes a new instance of the TaskBoard class.
public TaskBoardBuilder(TaskBoard<TCard, TColumn> component)
The component.
Methods
Controls whether to bind the TaskBoard to the data source on initialization.
public TaskBoardBuilder<TCard, TColumn> AutoBind(bool value)
The value that configures the autobind.
Returns:TaskBoardBuilder<TCard, TColumn>
The collection of data which will be used by the component
public TaskBoardBuilder<TCard, TColumn> BindTo(IEnumerable data)
TaskBoardBuilder<TCard, TColumn>
The collection of data which will be used by the component
public TaskBoardBuilder<TCard, TColumn> BindTo(IEnumerable<TCard> data)
TaskBoardBuilder<TCard, TColumn>
Defines the list of buttons rendered in the card.
public TaskBoardBuilder<TCard, TColumn> CardMenu(Action<TaskBoardCardMenuFactory<TCard, TColumn>> configurator)
The action that configures the cardmenu.
Returns:TaskBoardBuilder<TCard, TColumn>
The columns confguration of the TaskBoard
public TaskBoardBuilder<TCard, TColumn> Columns(Action<DataSourceBuilder<TColumn>> configurator)
TaskBoardBuilder<TCard, TColumn>
The configuration of the TaskBoard columns.
public TaskBoardBuilder<TCard, TColumn> Columns(Action<TaskBoardColumnsBuilder> configurator)
TaskBoardBuilder<TCard, TColumn>
The collection of data which will be used for the columns by the component
public TaskBoardBuilder<TCard, TColumn> Columns(IEnumerable data)
TaskBoardBuilder<TCard, TColumn>
The collection of data which will be used for the columns by the component
public TaskBoardBuilder<TCard, TColumn> Columns(IEnumerable<TColumn> data)
TaskBoardBuilder<TCard, TColumn>
The Id of the external DataSource to be used for the columns by the component
public TaskBoardBuilder<TCard, TColumn> Columns(string dataSourceId)
TaskBoardBuilder<TCard, TColumn>
Defines the settings for the columns.
public TaskBoardBuilder<TCard, TColumn> ColumnSettings(Action<TaskBoardColumnSettingsSettingsBuilder<TCard, TColumn>> configurator)
The action that configures the columnsettings.
Returns:TaskBoardBuilder<TCard, TColumn>
The category field of the card.
public TaskBoardBuilder<TCard, TColumn> DataCategoryField(string value)
The value that configures the datacategoryfield.
Returns:TaskBoardBuilder<TCard, TColumn>
The description field of the card.
public TaskBoardBuilder<TCard, TColumn> DataDescriptionField(string value)
The value that configures the datadescriptionfield.
Returns:TaskBoardBuilder<TCard, TColumn>
The field used to order cards (number based). If not set, cards 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.
public TaskBoardBuilder<TCard, TColumn> DataOrderField(string value)
The value that configures the dataorderfield.
Returns:TaskBoardBuilder<TCard, TColumn>
Configure the DataSource of the component
public TaskBoardBuilder<TCard, TColumn> DataSource(Action<DataSourceBuilder<TCard>> configurator)
The action that configures the DataSource.
Returns:TaskBoardBuilder<TCard, TColumn>
The Id of the external DataSource to be used by the component
public TaskBoardBuilder<TCard, TColumn> DataSource(string dataSourceId)
TaskBoardBuilder<TCard, TColumn>
The field of the data item that provides the status of the card. Mapped with the status of the columns.
public TaskBoardBuilder<TCard, TColumn> DataStatusField(string value)
The value that configures the datastatusfield.
Returns:TaskBoardBuilder<TCard, TColumn>
The title field of the card.
public TaskBoardBuilder<TCard, TColumn> DataTitleField(string value)
The value that configures the datatitlefield.
Returns:TaskBoardBuilder<TCard, TColumn>
Toggles the editing in the TaskBoard. Both for columns and cards.
public TaskBoardBuilder<TCard, TColumn> Editable(Action<TaskBoardEditableSettingsBuilder<TCard, TColumn>> configurator)
The action that configures the editable.
Returns:TaskBoardBuilder<TCard, TColumn>
Toggles the editing in the TaskBoard. Both for columns and cards.
public TaskBoardBuilder<TCard, TColumn> Editable(bool enabled)
Enables or disables the editable option.
Returns:TaskBoardBuilder<TCard, TColumn>
Configures the client-side events.
public TaskBoardBuilder<TCard, TColumn> Events(Action<TaskBoardEventBuilder> configurator)
The client events action.
Returns:TaskBoardBuilder<TCard, TColumn>
Configures the height of the TaskBoard wrapper.
public TaskBoardBuilder<TCard, TColumn> Height(string value)
The value that configures the height.
Returns:TaskBoardBuilder<TCard, TColumn>
Provides configuration options for the messages present in the TaskBoard widget.
public TaskBoardBuilder<TCard, TColumn> Messages(Action<TaskBoardMessagesSettingsBuilder<TCard, TColumn>> configurator)
The action that configures the messages.
Returns:TaskBoardBuilder<TCard, TColumn>
Toggles the previewPane in the TaskBoard.
public TaskBoardBuilder<TCard, TColumn> PreviewPane(Action<TaskBoardPreviewPaneSettingsBuilder<TCard, TColumn>> configurator)
The action that configures the previewpane.
Returns:TaskBoardBuilder<TCard, TColumn>
Toggles the previewPane in the TaskBoard.
public TaskBoardBuilder<TCard, TColumn> PreviewPane(bool enabled)
Enables or disables the previewpane option.
Returns:TaskBoardBuilder<TCard, TColumn>
Toggles the reordering of cards in the TaskBoard.
public TaskBoardBuilder<TCard, TColumn> Reorderable(bool value)
The value that configures the reorderable.
Returns:TaskBoardBuilder<TCard, TColumn>
The configuration of the TaskBoard resource(s). A TaskBoard resource is optional metadata that can be associated with a TaskBoard event.
public TaskBoardBuilder<TCard, TColumn> Resources(Action<TaskBoardResourceFactory<TCard, TColumn>> configurator)
The action that configures the resources.
Returns:TaskBoardBuilder<TCard, TColumn>
Toggles the selection of the TaskBoard.
public TaskBoardBuilder<TCard, TColumn> Selectable(bool value)
The value that configures the selectable.
Returns:TaskBoardBuilder<TCard, TColumn>
Controls the rendering of the card.
public TaskBoardBuilder<TCard, TColumn> Template(string value)
The value that configures the template.
Returns:TaskBoardBuilder<TCard, TColumn>
Controls the rendering of the card.
public TaskBoardBuilder<TCard, TColumn> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:TaskBoardBuilder<TCard, TColumn>
Controls the rendering of the card.
public TaskBoardBuilder<TCard, TColumn> TemplateHandler(string value)
The value that configures the template.
Returns:TaskBoardBuilder<TCard, TColumn>
Controls the rendering of the card.
public TaskBoardBuilder<TCard, TColumn> TemplateId(string value)
The value that configures the template.
Returns:TaskBoardBuilder<TCard, TColumn>
Controls the rendering of the card.
public TaskBoardBuilder<TCard, TColumn> TemplateView(MvcHtmlString value)
The value that configures the template.
Returns:TaskBoardBuilder<TCard, TColumn>
Configures the Tools of the TaskBoard
public TaskBoardBuilder<TCard, TColumn> Toolbar(Action<TaskBoardToolbarSettingsBuilder<TCard, TColumn>> configurator)
The action that configures the toolbar.
Returns:TaskBoardBuilder<TCard, TColumn>
Configures the Tools of the TaskBoard.
public TaskBoardBuilder<TCard, TColumn> Toolbar(bool enabled)
Enables or disables the toolbar option.
Returns:TaskBoardBuilder<TCard, TColumn>
Configures the width of the TaskBoard wrapper.
public TaskBoardBuilder<TCard, TColumn> Width(string value)
The value that configures the width.
Returns:TaskBoardBuilder<TCard, TColumn>