Kendo UI TaskBoard component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TCard
TColumn
Syntax:
public class TaskBoard<TCard, TColumn> : WidgetBase, IHtmlAttributesContainer where TCard : class where TColumn : class
Inheritance: objectWidgetBaseTaskBoard<TCard, TColumn>
Implements:
Inherited Members
Constructors
Initializes a new instance of the TaskBoard<TCard, TColumn> class.
Properties
Controls whether to bind the TaskBoard to the data source on initialization.
public bool? AutoBind { get; set; }
CardMenu
List<TaskBoardCardMenu<TCard, TColumn>>
Defines the list of buttons rendered in the card.
public List<TaskBoardCardMenu<TCard, TColumn>> CardMenu { get; set; }
Gets or sets the Columns.
public DataSource Columns { get; }
ColumnSettings
TaskBoardColumnSettingsSettings<TCard, TColumn>
Defines the settings for the columns.
public TaskBoardColumnSettingsSettings<TCard, TColumn> ColumnSettings { get; }
The category field of the card.
public string DataCategoryField { get; set; }
The description field of the card.
public string DataDescriptionField { get; set; }
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 string DataOrderField { get; set; }
Gets or sets the DataSource.
public DataSource DataSource { get; }
Gets or sets the DataSourceId.
public string DataSourceId { get; set; }
The field of the data item that provides the status of the card. Mapped with the status of the columns.
public string DataStatusField { get; set; }
The title field of the card.
public string DataTitleField { get; set; }
Editable
TaskBoardEditableSettings<TCard, TColumn>
Toggles the editing in the TaskBoard. Both for columns and cards.
public TaskBoardEditableSettings<TCard, TColumn> Editable { get; }
Messages
TaskBoardMessagesSettings<TCard, TColumn>
Provides configuration options for the messages present in the TaskBoard widget.
public TaskBoardMessagesSettings<TCard, TColumn> Messages { get; }
PreviewPane
TaskBoardPreviewPaneSettings<TCard, TColumn>
Toggles the previewPane in the TaskBoard.
public TaskBoardPreviewPaneSettings<TCard, TColumn> PreviewPane { get; }
Toggles the reordering of cards in the TaskBoard.
public bool? Reorderable { get; set; }
Resources
List<TaskBoardResource<TCard, TColumn>>
The configuration of the TaskBoard resource(s). A TaskBoard resource is optional metadata that can be associated with a TaskBoard event.
public List<TaskBoardResource<TCard, TColumn>> Resources { get; set; }
Toggles the selection of the TaskBoard.
public bool? Selectable { get; set; }
The handler that returns the template used for Template
public string TemplateHandler { get; set; }
The id of the script element used for Template
public string TemplateId { get; set; }
Toolbar
TaskBoardToolbarSettings<TCard, TColumn>
Configures the Tools of the TaskBoard
public TaskBoardToolbarSettings<TCard, TColumn> Toolbar { get; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML.
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: