4 writes to CurrentSelection
PresentationFramework (4)
src\Framework\System\Windows\Controls\MenuItem.cs (4)
622
menuItem.
CurrentSelection
= null;
698
menuItem.
CurrentSelection
= null;
1067
menuItem.
CurrentSelection
= source;
1077
menuItem.
CurrentSelection
= null;
14 references to CurrentSelection
PresentationFramework (14)
src\Framework\System\Windows\Controls\MenuItem.cs (14)
656
if (menuItem.
CurrentSelection
!= null)
661
if (menuItem.
CurrentSelection
.IsKeyboardFocusWithin)
666
if (menuItem.
CurrentSelection
.IsSubmenuOpen)
668
menuItem.
CurrentSelection
.SetCurrentValueInternal(IsSubmenuOpenProperty, BooleanBoxes.FalseBox);
1053
if (menuItem.
CurrentSelection
== source)
1060
if (menuItem.
CurrentSelection
!= source && source.LogicalParent == menuItem)
1062
if (menuItem.
CurrentSelection
!= null && menuItem.
CurrentSelection
.IsSubmenuOpen)
1064
menuItem.
CurrentSelection
.SetCurrentValueInternal(IsSubmenuOpenProperty, BooleanBoxes.FalseBox);
1075
if (menuItem.
CurrentSelection
== source)
1952
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
2001
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
2011
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
2481
sibling = menuItemParent.
CurrentSelection
;