31 references to Overflow
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4306
else if (placement == ToolStripItemPlacement.
Overflow
&& !(item is ToolStripSeparator))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
100
if (item.Placement == ToolStripItemPlacement.
Overflow
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
648
if (_ownerItem.Placement == ToolStripItemPlacement.
Overflow
&& _ownerItem.Owner is not null)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1244
public bool IsOnOverflow => Placement == ToolStripItemPlacement.
Overflow
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (8)
276
if (!needOverflow && (item.Overflow == ToolStripItemOverflow.AsNeeded && item.Placement == ToolStripItemPlacement.
Overflow
))
347
item.ParentInternal = (item.Placement == ToolStripItemPlacement.
Overflow
) ? toolStrip.OverflowButton.DropDown : null;
418
if (!needOverflow && (item.Overflow == ToolStripItemOverflow.AsNeeded && item.Placement == ToolStripItemPlacement.
Overflow
))
480
item.ParentInternal = (item.Placement == ToolStripItemPlacement.
Overflow
) ? toolStrip.OverflowButton.DropDown : null;
537
item.SetPlacement(ToolStripItemPlacement.
Overflow
);
549
if (toolStrip.Items[i].Placement == ToolStripItemPlacement.
Overflow
)
581
if (item.Overflow == ToolStripItemOverflow.AsNeeded && item.Placement != ToolStripItemPlacement.
Overflow
)
595
item.SetPlacement(ToolStripItemPlacement.
Overflow
);
System.Windows.Forms.Design (14)
System\Windows\Forms\Design\ToolStripDesigner.cs (8)
441
if (item.Placement == ToolStripItemPlacement.
Overflow
)
626
if (designer is not null && item.Placement != ToolStripItemPlacement.
Overflow
)
635
else if (designer is not null && item.Placement == ToolStripItemPlacement.
Overflow
)
709
if (item.Placement == ToolStripItemPlacement.
Overflow
&& item.Owner == ToolStrip)
734
if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.
Overflow
)
750
else if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.
Overflow
)
1036
if (item.Placement == ToolStripItemPlacement.
Overflow
)
2252
if (item.Placement == ToolStripItemPlacement.
Overflow
)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
546
if (glyphItem.Placement == ToolStripItemPlacement.
Overflow
|| (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown)))
967
if (glyphItem.Placement == ToolStripItemPlacement.
Overflow
|| (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown)))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
1367
parentToMoveOn = ((dropDownItem.Placement == ToolStripItemPlacement.
Overflow
)
1707
if (toolStripItem.IsOnDropDown && toolStripItem.Placement != ToolStripItemPlacement.
Overflow
)
1711
else if (toolStripItem.IsOnDropDown && toolStripItem.Placement == ToolStripItemPlacement.
Overflow
)
1829
if (item is not null && item.IsOnDropDown && item.Placement != ToolStripItemPlacement.
Overflow
)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (3)
32
toolStripItem.SetPlacement(ToolStripItemPlacement.
Overflow
);
48
toolStripItem.SetPlacement(ToolStripItemPlacement.
Overflow
);
80
toolStripItem.SetPlacement(ToolStripItemPlacement.
Overflow
);
System\Windows\Forms\ToolStripItemTests.cs (2)
6246
[InlineData(ToolStripItemOverflow.Always, ToolStripItemPlacement.
Overflow
, 1)]
6291
[InlineData(ToolStripItemOverflow.Always, ToolStripItemPlacement.
Overflow
, 1)]