13 instantiations of ToolStripOverflow
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
68
return new
ToolStripOverflow
(this);
System.Windows.Forms.Tests (12)
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (8)
15
using ToolStripOverflow toolStripOverflow =
new
(toolStripItem);
26
using ToolStripOverflow toolStripOverflow =
new
(toolStripItem);
40
using ToolStripOverflow toolStripOverflow =
new
(toolStripItem);
69
using ToolStripOverflow toolStripOverflow =
new
(toolStripItem);
89
using ToolStripOverflow toolStripOverflow =
new
(toolStripItem);
102
using ToolStripOverflow toolStripOverflow =
new
(toolStripItem);
114
using ToolStripOverflow toolStripOverflow =
new
(toolStripItem);
186
using ToolStripOverflow toolStripOverflow =
new
(toolStripItem);
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (4)
78
yield return new object[] { new
ToolStripOverflow
(new ToolStripButton()) };
79
yield return new object[] { new
ToolStripOverflow
(new ToolStripDropDownButton()) };
84
yield return new object[] { new
ToolStripOverflow
(ownedDropDownItem) };
85
yield return new object[] { new
ToolStripOverflow
(owner.OverflowButton) };
36 references to ToolStripOverflow
System.Windows.Forms (14)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (6)
1495
if (dropDown is
ToolStripOverflow
|| dropDown.IsAutoGenerated)
1880
ToolStripOverflow
? overflow = GetOverflow();
2008
internal
ToolStripOverflow
? GetOverflow()
2010
return (_toolStripOverflowButton is null || !_toolStripOverflowButton.HasDropDown) ? null : _toolStripOverflowButton.DropDown as
ToolStripOverflow
;
3255
ToolStripOverflow
? overflow = GetOverflow();
4311
ToolStripOverflow
? overflow = GetOverflow();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
294
if (owner is
ToolStripOverflow
overflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
265
if (e.ToolStrip is not
ToolStripOverflow
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
175
ToolStripOverflow
? overflow = null;
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.ToolStripOverflowAccessibleObject.cs (4)
13
public ToolStripOverflowAccessibleObject(
ToolStripOverflow
owner) : base(owner)
17
=> this.TryGetOwnerAs(out
ToolStripOverflow
? owner) && (index >= 0 || index < owner.DisplayedItems.Count)
24
=> this.TryGetOwnerAs(out
ToolStripOverflow
? owner)
31
NavigateDirection.NavigateDirection_Parent when this.TryGetOwnerAs(out
ToolStripOverflow
? owner)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
1202
if (toolStripDropDown is not
ToolStripOverflow
)
System.Windows.Forms.Design (13)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
1617
while (topmost is not null and not
ToolStripOverflow
)
1623
return (topmost is
ToolStripOverflow
);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
731
if (parentToolStrip is
ToolStripOverflow
overflow)
801
if (item.GetCurrentParent() is ToolStripDropDown dropDown && !(dropDown is
ToolStripOverflow
))
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
726
if (parent is
ToolStripOverflow
)
1066
if (parent is
ToolStripOverflow
)
1121
if (parent is
ToolStripOverflow
)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (5)
769
if (parent is
ToolStripOverflow
)
1223
targetSelection = parent is
ToolStripOverflow
1422
if (parentToMoveOn is
ToolStripOverflow
)
1864
if (parent is
ToolStripOverflow
)
1927
if (parent is
ToolStripOverflow
)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1564
if ((topMostItem is not null && topMostItem.GetCurrentParent() is
ToolStripOverflow
) && !main.CanOverflow)
System.Windows.Forms.Tests (9)
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (9)
5
using static System.Windows.Forms.
ToolStripOverflow
;
15
using
ToolStripOverflow
toolStripOverflow = new(toolStripItem);
26
using
ToolStripOverflow
toolStripOverflow = new(toolStripItem);
40
using
ToolStripOverflow
toolStripOverflow = new(toolStripItem);
69
using
ToolStripOverflow
toolStripOverflow = new(toolStripItem);
89
using
ToolStripOverflow
toolStripOverflow = new(toolStripItem);
102
using
ToolStripOverflow
toolStripOverflow = new(toolStripItem);
114
using
ToolStripOverflow
toolStripOverflow = new(toolStripItem);
186
using
ToolStripOverflow
toolStripOverflow = new(toolStripItem);