12 references to IsSubmenuOpenProperty
PresentationFramework (12)
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
212
owner.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, MS.Internal.KnownBoxes.BooleanBoxes.FalseBox);
src\Framework\System\Windows\Controls\MenuItem.cs (8)
547
get { return (bool) GetValue(
IsSubmenuOpenProperty
); }
548
set { SetValue(
IsSubmenuOpenProperty
, BooleanBoxes.Box(value)); }
583
CoerceValue(
IsSubmenuOpenProperty
);
668
menuItem.CurrentSelection.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
1023
menuItem.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
1064
menuItem.CurrentSelection.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
2028
SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
2386
SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.TrueBox);
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (3)
359
menu.CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
372
menu.CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.Box(wasSubmenuOpen));
459
CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);