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