/// <summary> /// Updates sidebar contents based on image selected /// </summary> private void UpdateSidebarContent() { SidebarController.FilteredItems = Categories; SidebarController.DisplayItems = Categories; SidebarController.Bindings = Bindings; SidebarController.SelectedClassCount = GetFilteredCount(); SidebarController.GenerateColoursInUse(); ConfigureSidebarTitle(); SidebarController.ConfigureMegaSection(); SidebarController.TableView.ReloadData(); }