4 writes to CurrentSelection
PresentationFramework (4)
System\Windows\Controls\MenuItem.cs (4)
627
menuItem.
CurrentSelection
= null;
703
menuItem.
CurrentSelection
= null;
1081
menuItem.
CurrentSelection
= source;
1091
menuItem.
CurrentSelection
= null;
14 references to CurrentSelection
PresentationFramework (14)
System\Windows\Controls\MenuItem.cs (14)
661
if (menuItem.
CurrentSelection
!= null)
666
if (menuItem.
CurrentSelection
.IsKeyboardFocusWithin)
671
if (menuItem.
CurrentSelection
.IsSubmenuOpen)
673
menuItem.
CurrentSelection
.SetCurrentValueInternal(IsSubmenuOpenProperty, BooleanBoxes.FalseBox);
1067
if (menuItem.
CurrentSelection
== source)
1074
if (menuItem.
CurrentSelection
!= source && source.LogicalParent == menuItem)
1076
if (menuItem.
CurrentSelection
!= null && menuItem.
CurrentSelection
.IsSubmenuOpen)
1078
menuItem.
CurrentSelection
.SetCurrentValueInternal(IsSubmenuOpenProperty, BooleanBoxes.FalseBox);
1089
if (menuItem.
CurrentSelection
== source)
1910
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
1959
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
1969
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
2421
sibling = menuItemParent.
CurrentSelection
;