12 writes to IsMenuMode
PresentationFramework (12)
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
528
IsMenuMode
= true;
550
IsMenuMode
= false;
src\Framework\System\Windows\Controls\Menu.cs (2)
271
IsMenuMode
= false;
308
IsMenuMode
= false;
src\Framework\System\Windows\Controls\MenuItem.cs (1)
2257
parentMenu.
IsMenuMode
= menuMode;
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (7)
188
IsMenuMode
= false;
268
IsMenuMode
= true;
292
IsMenuMode
= false;
556
menu.
IsMenuMode
= false;
572
menu.
IsMenuMode
= false;
596
menu.
IsMenuMode
= false;
731
IsMenuMode
= false;
9 references to IsMenuMode
PresentationFramework (9)
src\Framework\System\Windows\Controls\ContextMenu.cs (1)
607
if (
IsMenuMode
)
src\Framework\System\Windows\Controls\Menu.cs (1)
302
if (
IsMenuMode
)
src\Framework\System\Windows\Controls\MenuItem.cs (3)
2255
if (parentMenu.
IsMenuMode
!= menuMode)
2272
return parentMenu.
IsMenuMode
;
2289
Debug.Assert(!parentMenu.OpenOnMouseEnter || parentMenu.
IsMenuMode
, "OpenOnMouseEnter can only be true when IsMenuMode is true");
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (4)
266
if (!
IsMenuMode
)
283
if (
IsMenuMode
)
564
if (menu.
IsMenuMode
&& Mouse.Captured == null && MS.Win32.SafeNativeMethods.GetCapture() == IntPtr.Zero)
729
if (
IsMenuMode
)