4 writes to CurrentSelection
PresentationFramework (4)
System\Windows\Controls\MenuItem.cs (4)
617
menuItem.
CurrentSelection
= null;
693
menuItem.
CurrentSelection
= null;
1071
menuItem.
CurrentSelection
= source;
1081
menuItem.
CurrentSelection
= null;
14 references to CurrentSelection
PresentationFramework (14)
System\Windows\Controls\MenuItem.cs (14)
651
if (menuItem.
CurrentSelection
!= null)
656
if (menuItem.
CurrentSelection
.IsKeyboardFocusWithin)
661
if (menuItem.
CurrentSelection
.IsSubmenuOpen)
663
menuItem.
CurrentSelection
.SetCurrentValueInternal(IsSubmenuOpenProperty, BooleanBoxes.FalseBox);
1057
if (menuItem.
CurrentSelection
== source)
1064
if (menuItem.
CurrentSelection
!= source && source.LogicalParent == menuItem)
1066
if (menuItem.
CurrentSelection
!= null && menuItem.
CurrentSelection
.IsSubmenuOpen)
1068
menuItem.
CurrentSelection
.SetCurrentValueInternal(IsSubmenuOpenProperty, BooleanBoxes.FalseBox);
1079
if (menuItem.
CurrentSelection
== source)
1900
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
1949
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
1959
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
2411
sibling = menuItemParent.
CurrentSelection
;