12 references to IsOnContextMenu
System.Windows.Forms.Design (12)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (12)
1608if (!IsOnContextMenu && !_dummyItemAdded) 1679if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1698if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1716if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1727if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1744if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1756if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1782if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1802if (!IsOnContextMenu) 1850if (!IsOnContextMenu) 2104if (!IsOnContextMenu && MenuItem.DropDown.Visible) 2160if (IsOnContextMenu && !MenuItem.Owner.Visible)