public void UnselectAllPanels() { SelectedPanels.Clear(); foreach (TaskThumbnailPanel panel in Panels) { panel.Selected = false; } OnSelectedPanelChanged(); }
public void UnselectAllPanels(TaskThumbnailPanel ignorePanel = null) { SelectedPanels.Clear(); foreach (TaskThumbnailPanel panel in Panels) { if (panel != ignorePanel) { panel.Selected = false; } } OnSelectedPanelChanged(); }