16 references to IsSubmenuOpenProperty
PresentationFramework (12)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
224
owner.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, MS.Internal.KnownBoxes.BooleanBoxes.FalseBox);
System\Windows\Controls\MenuItem.cs (8)
542
get { return (bool) GetValue(
IsSubmenuOpenProperty
); }
543
set { SetValue(
IsSubmenuOpenProperty
, BooleanBoxes.Box(value)); }
578
CoerceValue(
IsSubmenuOpenProperty
);
663
menuItem.CurrentSelection.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
1027
menuItem.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
1068
menuItem.CurrentSelection.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
1976
SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
2316
SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.TrueBox);
System\Windows\Controls\Primitives\MenuBase.cs (3)
348
menu.CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
361
menu.CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.Box(wasSubmenuOpen));
446
CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenuItem.cs (1)
39
IsSubmenuOpenProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceIsSubmenuOpen)));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationSplitMenuItem.cs (1)
37
IsSubmenuOpenProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceIsSubmenuOpen)));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2277
markupProp.DependencyProperty == MenuItem.
IsSubmenuOpenProperty
)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
62
IsSubmenuOpenProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsSubmenuOpenChanged)));