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)
107
gallery.
SelectedItem
= item;
528
RibbonGallery.
SelectedItem
= CollectionView.CurrentItem;
18 references to SelectedItem
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1392
selectedItem = _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.
716
object oldItem = gallery.
SelectedItem
;
1002
object selectedItem =
SelectedItem
;
1255
object oldItem =
SelectedItem
;
2145
if (SelectedValue != null &&
SelectedItem
== null)
2153
object selectedItem =
SelectedItem
;
2411
if (
SelectedItem
!= null)
3104
if (VerifyEqual(item,
SelectedItem
) && _selectedContainers.Count > 0)
3139
gallery.ScrollIntoView(gallery.
SelectedItem
);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (4)
95
object selectedItem = gallery.
SelectedItem
;
499
if (RibbonGallery != null && RibbonGallery.
SelectedItem
== null)
547
object selectedItem = RibbonGallery.
SelectedItem
;
575
if (RibbonGallery.
SelectedItem
!= null)