31 references to Overflow
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4299
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)
1239
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
)
629
if (designer is not null && item.Placement != ToolStripItemPlacement.
Overflow
)
638
else if (designer is not null && item.Placement == ToolStripItemPlacement.
Overflow
)
718
if (item.Placement == ToolStripItemPlacement.
Overflow
&& item.Owner == ToolStrip)
743
if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.
Overflow
)
759
else if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.
Overflow
)
1048
if (item.Placement == ToolStripItemPlacement.
Overflow
)
2279
if (item.Placement == ToolStripItemPlacement.
Overflow
)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
546
if (glyphItem.Placement == ToolStripItemPlacement.
Overflow
|| (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown)))
970
if (glyphItem.Placement == ToolStripItemPlacement.
Overflow
|| (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown)))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
1367
parentToMoveOn = ((dropDownItem.Placement == ToolStripItemPlacement.
Overflow
)
1713
if (toolStripItem.IsOnDropDown && toolStripItem.Placement != ToolStripItemPlacement.
Overflow
)
1717
else if (toolStripItem.IsOnDropDown && toolStripItem.Placement == ToolStripItemPlacement.
Overflow
)
1835
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)]