4 writes to SelectedItem
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
353_firstGallery.SelectedItem = value; 1496_firstGallery.SelectedItem = null;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
107gallery.SelectedItem = item; 528RibbonGallery.SelectedItem = CollectionView.CurrentItem;
18 references to SelectedItem
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1392selectedItem = _firstGallery.SelectedItem; 1495_cachedSelectedItem = _firstGallery.SelectedItem;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (12)
612/// Event fired when <see cref="SelectedItem"/> changes. 618/// Event fired when <see cref="SelectedItem"/> changes. 634/// Called when <see cref="SelectedItem"/> changes. 660/// The DependencyProperty for the <see cref="SelectedItem"/> property. 716object oldItem = gallery.SelectedItem; 1002object selectedItem = SelectedItem; 1255object oldItem = SelectedItem; 2145if (SelectedValue != null && SelectedItem == null) 2153object selectedItem = SelectedItem; 2411if (SelectedItem != null) 3104if (VerifyEqual(item, SelectedItem) && _selectedContainers.Count > 0) 3139gallery.ScrollIntoView(gallery.SelectedItem);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (4)
95object selectedItem = gallery.SelectedItem; 499if (RibbonGallery != null && RibbonGallery.SelectedItem == null) 547object selectedItem = RibbonGallery.SelectedItem; 575if (RibbonGallery.SelectedItem != null)