43 references to IsOnOverflow
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2468if (!IsDropDown && dismissingItem.IsOnOverflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (1)
100&& toolStripComboBox.Owner.IsOnOverflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1323bool isOnOverflow = (OwnerItem is not null && OwnerItem.IsOnOverflow);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
569bool isTopLevel = (!IsOnDropDown || IsOnOverflow);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3434parent ??= (IsOnOverflow && Owner is not null) ? Owner.OverflowButton.DropDown : Owner;
System.Windows.Forms.Design (12)
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
2004if (SelectionService.PrimarySelection is ToolStripItem curSel && curSel.IsOnOverflow) 2034if (!(SelectionService.PrimarySelection is ToolStripItem curSel) || (curSel is not null && !curSel.IsOnOverflow)) 2053&& item.IsOnOverflow
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (1)
450selItem is ToolStripSeparator || selItem is ToolStripControlHost || !selItem.IsOnDropDown || selItem.IsOnOverflow)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
396if (glyphItem.IsOnOverflow) 612else if (glyphItem.IsOnDropDown && !glyphItem.IsOnOverflow)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
173if (ToolStripItem.IsOnOverflow) 206if (ToolStripItem.IsOnDropDown && !ToolStripItem.IsOnOverflow) 266if (item.IsOnOverflow)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
848if (typeHereNode.IsOnDropDown && !typeHereNode.IsOnOverflow) 1787if (currentSelection is DesignerToolStripControlHost templateNodeItem && (!templateNodeItem.IsOnDropDown || (templateNodeItem.IsOnDropDown && templateNodeItem.IsOnOverflow)))
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
328if (!ToolStripItem.IsOnOverflow && ToolStripItem.IsOnDropDown)
System.Windows.Forms.Tests (26)
System\Windows\Forms\ToolStripButtonTests.cs (6)
67Assert.False(item.IsOnOverflow); 148Assert.False(item.IsOnOverflow); 235Assert.False(item.IsOnOverflow); 325Assert.False(item.IsOnOverflow); 413Assert.False(item.IsOnOverflow); 511Assert.False(item.IsOnOverflow);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
96Assert.False(item.IsOnOverflow);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
67Assert.False(item.IsOnOverflow); 156Assert.False(item.IsOnOverflow); 255Assert.False(item.IsOnOverflow); 363Assert.False(item.IsOnOverflow);
System\Windows\Forms\ToolStripItemTests.cs (13)
66Assert.False(item.IsOnOverflow); 151Assert.False(item.IsOnOverflow); 246Assert.False(item.IsOnOverflow); 6234Assert.False(item.IsOnOverflow); 6239Assert.False(item.IsOnOverflow); 6268Assert.Equal(value == ToolStripItemOverflow.Always, item.IsOnOverflow); 6276Assert.Equal(value == ToolStripItemOverflow.Always, item.IsOnOverflow); 6320Assert.Equal(value == ToolStripItemOverflow.Always, item.IsOnOverflow); 6331Assert.Equal(value == ToolStripItemOverflow.Always, item.IsOnOverflow); 6362Assert.False(item.IsOnOverflow); 6370Assert.False(item.IsOnOverflow); 6405Assert.False(item.IsOnOverflow); 6416Assert.False(item.IsOnOverflow);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
72Assert.False(item.IsOnOverflow);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
64Assert.False(item.IsOnOverflow);