Skip to main content
Version: 4.2

KanbanColumnCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

A mutable collection of columns that refreshes its owning board when items change.

public class KanbanColumnCollection : Collection<KanbanColumn>

Null items and duplicate item instances are rejected. Item property changes are observed automatically.

Example:

var board = new KanbanBoard();
board.Columns.Add(new KanbanColumn { Text = "Review", Value = "review" });
board.Columns[0].WipLimit = 3; // Refreshes the owning board.

Constructors​

Instance member KanbanColumnCollection()​

Initializes a new instance of KanbanColumnCollection.

Methods​

Protected member ClearItems()​

Removes all items and their change subscriptions.

Protected member InsertItem(index, item)​

Inserts an item and starts observing its property changes.

ParameterTypeDescription
indexInt32Zero-based insertion position.
itemKanbanColumnNon-null item not already in this collection.

Protected member RemoveItem(index)​

Removes an item and stops observing it.

ParameterTypeDescription
indexInt32Zero-based position to remove.

Protected member SetItem(index, item)​

Replaces an item and transfers property-change observation.

ParameterTypeDescription
indexInt32Zero-based position to replace.
itemKanbanColumnNon-null replacement item.