4 writes to CurrentSelection
PresentationFramework (4)
System\Windows\Controls\MenuItem.cs (4)
617
menuItem.
CurrentSelection
= null;
693
menuItem.
CurrentSelection
= null;
1068
menuItem.
CurrentSelection
= source;
1078
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);
1054
if (menuItem.
CurrentSelection
== source)
1061
if (menuItem.
CurrentSelection
!= source && source.LogicalParent == menuItem)
1063
if (menuItem.
CurrentSelection
!= null && menuItem.
CurrentSelection
.IsSubmenuOpen)
1065
menuItem.
CurrentSelection
.SetCurrentValueInternal(IsSubmenuOpenProperty, BooleanBoxes.FalseBox);
1076
if (menuItem.
CurrentSelection
== source)
1893
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
1942
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
1952
if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen &&
CurrentSelection
== null)
2406
sibling = menuItemParent.
CurrentSelection
;