4 writes to SelectedItem
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
355
_firstGallery.
SelectedItem
= value;
1498
_firstGallery.
SelectedItem
= null;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
112
gallery.
SelectedItem
= item;
533
RibbonGallery.
SelectedItem
= CollectionView.CurrentItem;
18 references to SelectedItem
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1394
selectedItem = _firstGallery.
SelectedItem
;
1497
_cachedSelectedItem = _firstGallery.
SelectedItem
;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (12)
614
/// Event fired when <see cref="
SelectedItem
"/> changes.
620
/// Event fired when <see cref="
SelectedItem
"/> changes.
636
/// Called when <see cref="
SelectedItem
"/> changes.
662
/// The DependencyProperty for the <see cref="
SelectedItem
"/> property.
718
object oldItem = gallery.
SelectedItem
;
1004
object selectedItem =
SelectedItem
;
1257
object oldItem =
SelectedItem
;
2147
if (SelectedValue != null &&
SelectedItem
== null)
2155
object selectedItem =
SelectedItem
;
2413
if (
SelectedItem
!= null)
3106
if (VerifyEqual(item,
SelectedItem
) && _selectedContainers.Count > 0)
3141
gallery.ScrollIntoView(gallery.
SelectedItem
);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (4)
100
object selectedItem = gallery.
SelectedItem
;
504
if (RibbonGallery != null && RibbonGallery.
SelectedItem
== null)
552
object selectedItem = RibbonGallery.
SelectedItem
;
580
if (RibbonGallery.
SelectedItem
!= null)