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.

Namespace
Tesserae
Implements
IComponent, IHasMarginPadding

Constructors

NameDescription
TaskBoardInitializes a new instance of this class.
Constructor
TaskBoard
public TaskBoard()

Initializes a new instance of this class.

Properties

NameDescription
MarginGets or sets the CSS margin of the component.
PaddingGets or sets the CSS padding of the component.
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

NameDescription
AddColumnAdds the given column to the component.
ColumnsDefines the columns of the grid (track sizes).
ReadOnlyConfigures the read only on the component.
OnColumnDropRegisters a callback invoked when the column drop event fires.
OnColumnUpdateRegisters a callback invoked when the column update event fires.
RowModeConfigures the row mode on the component.
RenderRenders the component's root HTML element.
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
Namespace
Tesserae
Implements
IComponent

Constructors

NameDescription
TaskBoardColumnInitializes a new instance of this class.
Constructor
TaskBoardColumn
public TaskBoardColumn(string title, string sortableGroup = "taskboard")

Initializes a new instance of this class.

Properties

NameDescription
IsReadOnlyReturns a value indicating whether the component is read only.
Property
TaskBoardColumn.IsReadOnly
public bool IsReadOnly { get ; internal set ; }

Returns a value indicating whether the component is read only.

Methods

NameDescription
OnCardDropRegisters a callback invoked when the card drop event fires.
OnCardAddRegisters a callback invoked when the card add event fires.
OnCardRemoveRegisters a callback invoked when the card remove event fires.
OnCardUpdateRegisters a callback invoked when the card update event fires.
CardsConfigures the component to cards.
AddCardAdds the given card to the component.
RenderRenders the component's root HTML element.
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
Namespace
Tesserae
Implements
IComponent

Constructors

NameDescription
TaskBoardCardInitializes a new instance of this class.
Constructor
TaskBoardCard
public TaskBoardCard(IComponent content)

Initializes a new instance of this class.

Methods

NameDescription
HeaderConfigures the component to header.
FooterConfigures the component to footer.
RenderRenders the component's root HTML element.
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 Curiosity. All rights reserved.