31 references to Overflow
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4299else if (placement == ToolStripItemPlacement.Overflow && !(item is ToolStripSeparator))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
101if (item.Placement == ToolStripItemPlacement.Overflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
648if (_ownerItem.Placement == ToolStripItemPlacement.Overflow && _ownerItem.Owner is not null)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1239public bool IsOnOverflow => Placement == ToolStripItemPlacement.Overflow;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (8)
276if (!needOverflow && (item.Overflow == ToolStripItemOverflow.AsNeeded && item.Placement == ToolStripItemPlacement.Overflow)) 347item.ParentInternal = (item.Placement == ToolStripItemPlacement.Overflow) ? toolStrip.OverflowButton.DropDown : null; 418if (!needOverflow && (item.Overflow == ToolStripItemOverflow.AsNeeded && item.Placement == ToolStripItemPlacement.Overflow)) 480item.ParentInternal = (item.Placement == ToolStripItemPlacement.Overflow) ? toolStrip.OverflowButton.DropDown : null; 537item.SetPlacement(ToolStripItemPlacement.Overflow); 549if (toolStrip.Items[i].Placement == ToolStripItemPlacement.Overflow) 581if (item.Overflow == ToolStripItemOverflow.AsNeeded && item.Placement != ToolStripItemPlacement.Overflow) 595item.SetPlacement(ToolStripItemPlacement.Overflow);
System.Windows.Forms.Design (14)
System\Windows\Forms\Design\ToolStripDesigner.cs (8)
474if (item.Placement == ToolStripItemPlacement.Overflow) 665if (designer is not null && item.Placement != ToolStripItemPlacement.Overflow) 674else if (designer is not null && item.Placement == ToolStripItemPlacement.Overflow) 754if (item.Placement == ToolStripItemPlacement.Overflow && item.Owner == ToolStrip) 779if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.Overflow) 796else if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.Overflow) 1069if (item.Placement == ToolStripItemPlacement.Overflow) 2237if (item.Placement == ToolStripItemPlacement.Overflow)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
549if (glyphItem.Placement == ToolStripItemPlacement.Overflow || (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown))) 979if (glyphItem.Placement == ToolStripItemPlacement.Overflow || (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown)))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
1376parentToMoveOn = ((dropDownItem.Placement == ToolStripItemPlacement.Overflow) 1722if (toolStripItem.IsOnDropDown && toolStripItem.Placement != ToolStripItemPlacement.Overflow) 1726else if (toolStripItem.IsOnDropDown && toolStripItem.Placement == ToolStripItemPlacement.Overflow) 1844if (item is not null && item.IsOnDropDown && item.Placement != ToolStripItemPlacement.Overflow)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (3)
30toolStripItem.SetPlacement(ToolStripItemPlacement.Overflow); 46toolStripItem.SetPlacement(ToolStripItemPlacement.Overflow); 78toolStripItem.SetPlacement(ToolStripItemPlacement.Overflow);
System\Windows\Forms\ToolStripItemTests.cs (2)
6244[InlineData(ToolStripItemOverflow.Always, ToolStripItemPlacement.Overflow, 1)] 6289[InlineData(ToolStripItemOverflow.Always, ToolStripItemPlacement.Overflow, 1)]