31 references to Overflow
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4306else if (placement == ToolStripItemPlacement.Overflow && !(item is ToolStripSeparator))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
100if (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)
1244public 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)
441if (item.Placement == ToolStripItemPlacement.Overflow) 626if (designer is not null && item.Placement != ToolStripItemPlacement.Overflow) 635else if (designer is not null && item.Placement == ToolStripItemPlacement.Overflow) 709if (item.Placement == ToolStripItemPlacement.Overflow && item.Owner == ToolStrip) 734if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.Overflow) 750else if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.Overflow) 1036if (item.Placement == ToolStripItemPlacement.Overflow) 2252if (item.Placement == ToolStripItemPlacement.Overflow)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
546if (glyphItem.Placement == ToolStripItemPlacement.Overflow || (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown))) 967if (glyphItem.Placement == ToolStripItemPlacement.Overflow || (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown)))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
1367parentToMoveOn = ((dropDownItem.Placement == ToolStripItemPlacement.Overflow) 1707if (toolStripItem.IsOnDropDown && toolStripItem.Placement != ToolStripItemPlacement.Overflow) 1711else if (toolStripItem.IsOnDropDown && toolStripItem.Placement == ToolStripItemPlacement.Overflow) 1829if (item is not null && item.IsOnDropDown && item.Placement != ToolStripItemPlacement.Overflow)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (3)
32toolStripItem.SetPlacement(ToolStripItemPlacement.Overflow); 48toolStripItem.SetPlacement(ToolStripItemPlacement.Overflow); 80toolStripItem.SetPlacement(ToolStripItemPlacement.Overflow);
System\Windows\Forms\ToolStripItemTests.cs (2)
6246[InlineData(ToolStripItemOverflow.Always, ToolStripItemPlacement.Overflow, 1)] 6291[InlineData(ToolStripItemOverflow.Always, ToolStripItemPlacement.Overflow, 1)]