31 references to Overflow
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4298
else if (placement == ToolStripItemPlacement.
Overflow
&& !(item is ToolStripSeparator))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
101
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)
474
if (item.Placement == ToolStripItemPlacement.
Overflow
)
665
if (designer is not null && item.Placement != ToolStripItemPlacement.
Overflow
)
674
else if (designer is not null && item.Placement == ToolStripItemPlacement.
Overflow
)
754
if (item.Placement == ToolStripItemPlacement.
Overflow
&& item.Owner == ToolStrip)
779
if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.
Overflow
)
796
else if (item.IsOnDropDown && item.Placement != ToolStripItemPlacement.
Overflow
)
1069
if (item.Placement == ToolStripItemPlacement.
Overflow
)
2237
if (item.Placement == ToolStripItemPlacement.
Overflow
)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
549
if (glyphItem.Placement == ToolStripItemPlacement.
Overflow
|| (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown)))
979
if (glyphItem.Placement == ToolStripItemPlacement.
Overflow
|| (glyphItem.Placement == ToolStripItemPlacement.Main && !(glyphItem.IsOnDropDown)))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
1394
parentToMoveOn = ((dropDownItem.Placement == ToolStripItemPlacement.
Overflow
) ? dropDownItem.Owner.OverflowButton.DropDown : dropDownItem.Owner) as ToolStripDropDown;
1739
if (toolStripItem.IsOnDropDown && toolStripItem.Placement != ToolStripItemPlacement.
Overflow
)
1743
else if (toolStripItem.IsOnDropDown && toolStripItem.Placement == ToolStripItemPlacement.
Overflow
)
1861
if (item is not null && item.IsOnDropDown && item.Placement != ToolStripItemPlacement.
Overflow
)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (3)
30
toolStripItem.SetPlacement(ToolStripItemPlacement.
Overflow
);
46
toolStripItem.SetPlacement(ToolStripItemPlacement.
Overflow
);
78
toolStripItem.SetPlacement(ToolStripItemPlacement.
Overflow
);
System\Windows\Forms\ToolStripItemTests.cs (2)
6244
[InlineData(ToolStripItemOverflow.Always, ToolStripItemPlacement.
Overflow
, 1)]
6289
[InlineData(ToolStripItemOverflow.Always, ToolStripItemPlacement.
Overflow
, 1)]