12 references to IsOnContextMenu
System.Windows.Forms.Design (12)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (12)
1578if (!IsOnContextMenu && !_dummyItemAdded) 1649if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1668if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1686if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1697if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1714if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1726if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1752if (IsOnContextMenu && MenuItem.DropDown.Site is not null) 1772if (!IsOnContextMenu) 1820if (!IsOnContextMenu) 2068if (!IsOnContextMenu && MenuItem.DropDown.Visible) 2124if (IsOnContextMenu && !MenuItem.Owner.Visible)