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