12 references to _selectedContainers
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (12)
1274int index = _selectedContainers.IndexOf(container); 1277_selectedContainers.RemoveAt(index); 1286for (int i = 0; i < _selectedContainers.Count; i++) 1288RibbonGalleryItem galleryItem = _selectedContainers[i]; 1297_selectedContainers.Clear(); 1354if (isSelected && container != null && !_selectedContainers.Contains(container)) 1356_selectedContainers.Add(container); 1539get { return _selectedContainers; } 1546if (_selectedContainers.Count > 0) 1548return _selectedContainers[0].RibbonGalleryCategory; 3104if (VerifyEqual(item, SelectedItem) && _selectedContainers.Count > 0) 3106_selectedContainers[0].BringIntoView();