Tesserae

TaskBoard

Description

A board for managing tasks

TaskBoard provides a Trello-like interface with draggable columns and cards. Use it for Kanban boards and task management.

API reference

class

TaskBoard

public class TaskBoard : IComponent, IHasMarginPadding

A kanban-style board with named columns and draggable cards.

Constructors

Constructor
TaskBoard
public TaskBoard()

Initializes a new instance of this class.

Properties

Property
TaskBoard.Margin
public string Margin { get ; set ; }

Gets or sets the CSS margin of the component.

Property
TaskBoard.Padding
public string Padding { get ; set ; }

Gets or sets the CSS padding of the component.

Methods

Method
TaskBoard.AddColumn
public TaskBoard AddColumn(TaskBoardColumn column)

Adds the given column to the component.

Method
TaskBoard.Columns
public TaskBoard Columns(params TaskBoardColumn[] columns)

Defines the columns of the grid (track sizes).

Method
TaskBoard.ReadOnly
public TaskBoard ReadOnly(bool isReadOnly = true)

Configures the read only on the component.

Method
TaskBoard.OnColumnDrop
public TaskBoard OnColumnDrop(Action<SortableEvent> onColumnDrop)

Registers a callback invoked when the column drop event fires.

Method
TaskBoard.OnColumnUpdate
public TaskBoard OnColumnUpdate(Action<SortableEvent> onColumnUpdate)

Registers a callback invoked when the column update event fires.

Method
TaskBoard.RowMode
public TaskBoard RowMode(bool isRowMode = true)

Configures the row mode on the component.

Method
TaskBoard.Render
public HTMLElement Render()

Renders the component's root HTML element.

class

TaskBoardColumn

public class TaskBoardColumn : IComponent

Constructors

Constructor
TaskBoardColumn
public TaskBoardColumn(string title, string sortableGroup = "taskboard")

Initializes a new instance of this class.

Properties

Property
TaskBoardColumn.IsReadOnly
public bool IsReadOnly { get ; internal set ; }

Returns a value indicating whether the component is read only.

Methods

Method
TaskBoardColumn.OnCardDrop
public TaskBoardColumn OnCardDrop(Action<SortableEvent> onCardDrop)

Registers a callback invoked when the card drop event fires.

Method
TaskBoardColumn.OnCardAdd
public TaskBoardColumn OnCardAdd(Action<SortableEvent> onCardAdd)

Registers a callback invoked when the card add event fires.

Method
TaskBoardColumn.OnCardRemove
public TaskBoardColumn OnCardRemove(Action<SortableEvent> onCardRemove)

Registers a callback invoked when the card remove event fires.

Method
TaskBoardColumn.OnCardUpdate
public TaskBoardColumn OnCardUpdate(Action<SortableEvent> onCardUpdate)

Registers a callback invoked when the card update event fires.

Method
TaskBoardColumn.Cards
public TaskBoardColumn Cards(params TaskBoardCard[] cards)

Configures the component to cards.

Method
TaskBoardColumn.AddCard
public TaskBoardColumn AddCard(TaskBoardCard card)

Adds the given card to the component.

Method
TaskBoardColumn.Render
public HTMLElement Render()

Renders the component's root HTML element.

class

TaskBoardCard

public class TaskBoardCard : IComponent

Constructors

Constructor
TaskBoardCard
public TaskBoardCard(IComponent content)

Initializes a new instance of this class.

Methods

Method
TaskBoardCard.Header
public TaskBoardCard Header(IComponent headerContent)

Configures the component to header.

Method
TaskBoardCard.Footer
public TaskBoardCard Footer(IComponent footerContent)

Configures the component to footer.

Method
TaskBoardCard.Render
public HTMLElement Render()

Renders the component's root HTML element.

Sample

See also

© 2026 Tesserae. All rights reserved.