18 references to Placement
System.Windows.Forms (18)
winforms\Managed\System\WinForms\ToolStrip.cs (3)
4380
ToolStripItemPlacement placement = item.
Placement
;
4897
if (item.
Placement
== ToolStripItemPlacement.Overflow) {
4995
var placement = child.Owner.
Placement
;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
839
if (ownerItem.
Placement
== ToolStripItemPlacement.Overflow && ownerItem.Owner != null) {
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
1480
return (this.
Placement
== ToolStripItemPlacement.Overflow);
4178
return ownerItem.
Placement
!= ToolStripItemPlacement.Main;
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (12)
119
if (item.Overflow != ToolStripItemOverflow.Always && item.
Placement
== ToolStripItemPlacement.None) {
169
if (item.Overflow != ToolStripItemOverflow.Always && item.
Placement
== ToolStripItemPlacement.None) {
305
if (!needOverflow && (item.Overflow == ToolStripItemOverflow.AsNeeded && item.
Placement
== ToolStripItemPlacement.Overflow)) {
317
if ((item != null) && (item.
Placement
== ToolStripItemPlacement.Main)) {
374
item.ParentInternal = (item.
Placement
== ToolStripItemPlacement.Overflow) ? toolStrip.OverflowButton.DropDown : null;
442
if (!needOverflow && (item.Overflow == ToolStripItemOverflow.AsNeeded && item.
Placement
== ToolStripItemPlacement.Overflow)) {
453
if ((item != null) && (item.
Placement
== ToolStripItemPlacement.Main)) {
499
item.ParentInternal = (item.
Placement
== ToolStripItemPlacement.Overflow) ? toolStrip.OverflowButton.DropDown : null;
513
if ((item.
Placement
== ToolStripItemPlacement.Main)
554
if (item.
Placement
== ToolStripItemPlacement.None) {
571
if (toolStrip.Items[i].
Placement
== ToolStripItemPlacement.Overflow) {
603
if (item.Overflow == ToolStripItemOverflow.AsNeeded && item.
Placement
!= ToolStripItemPlacement.Overflow) {