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