12 references to _selectedContainers
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (12)
1276int index = _selectedContainers.IndexOf(container); 1279_selectedContainers.RemoveAt(index); 1288for (int i = 0; i < _selectedContainers.Count; i++) 1290RibbonGalleryItem galleryItem = _selectedContainers[i]; 1299_selectedContainers.Clear(); 1356if (isSelected && container != null && !_selectedContainers.Contains(container)) 1358_selectedContainers.Add(container); 1543get { return _selectedContainers; } 1550if (_selectedContainers.Count > 0) 1552return _selectedContainers[0].RibbonGalleryCategory; 3108if (VerifyEqual(item, SelectedItem) && _selectedContainers.Count > 0) 3110_selectedContainers[0].BringIntoView();