16 references to IsSubmenuOpenProperty
PresentationFramework (12)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
223
owner.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, MS.Internal.KnownBoxes.BooleanBoxes.FalseBox);
System\Windows\Controls\MenuItem.cs (8)
541
get { return (bool) GetValue(
IsSubmenuOpenProperty
); }
542
set { SetValue(
IsSubmenuOpenProperty
, BooleanBoxes.Box(value)); }
577
CoerceValue(
IsSubmenuOpenProperty
);
662
menuItem.CurrentSelection.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
1023
menuItem.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
1064
menuItem.CurrentSelection.SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
1968
SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
2310
SetCurrentValueInternal(
IsSubmenuOpenProperty
, BooleanBoxes.TrueBox);
System\Windows\Controls\Primitives\MenuBase.cs (3)
347
menu.CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
360
menu.CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.Box(wasSubmenuOpen));
445
CurrentSelection.SetCurrentValueInternal(MenuItem.
IsSubmenuOpenProperty
, BooleanBoxes.FalseBox);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenuItem.cs (1)
38
IsSubmenuOpenProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceIsSubmenuOpen)));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationSplitMenuItem.cs (1)
36
IsSubmenuOpenProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceIsSubmenuOpen)));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2256
markupProp.DependencyProperty == MenuItem.
IsSubmenuOpenProperty
)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
61
IsSubmenuOpenProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsSubmenuOpenChanged)));