/// <summary> /// Removes a <see cref="KanbanBoardCell"/> from the swimlane /// </summary> public void RemoveCell(KanbanBoardCell cell) { if (cell.Swimlane == this) { cell.Swimlane = null; cell.CardsChanged -= Cell_CardsChanged; } Cells.Remove(cell); }
/// <summary> /// Adds a <see cref="KanbanBoardCell"/> to the swimlane /// </summary> public void AddCell(KanbanBoardCell cell) { cell.Swimlane = this; cell.CardsChanged += Cell_CardsChanged; Cells.Add(cell); }