18 writes to Overflow
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
789
Overflow
= ToolStripItemOverflow.Never,
1361
Overflow
= ToolStripItemOverflow.Never,
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
347
set => base.
Overflow
= value;
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
53
item.
Overflow
= ToolStripItemOverflow.Never;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
191
ToolStripItem.
Overflow
= value;
1093
private void RestoreOverflow() => ToolStripItem.
Overflow
= (ToolStripItemOverflow)ShadowProperties[nameof(Overflow)];
1098
private void ResetOverflow() => ToolStripItem.
Overflow
= ToolStripItemOverflow.AsNeeded;
System.Windows.Forms.Tests (11)
System\Windows\Forms\ToolStripItemTests.cs (11)
6231
Overflow
= value
6237
item.
Overflow
= value;
6266
item.
Overflow
= value;
6274
item.
Overflow
= value;
6318
item.
Overflow
= value;
6329
item.
Overflow
= value;
6360
item.
Overflow
= value;
6368
item.
Overflow
= value;
6403
item.
Overflow
= value;
6414
item.
Overflow
= value;
6435
Assert.Throws<InvalidEnumArgumentException>("value", () => item.
Overflow
= value);
37 references to Overflow
System.Windows.Forms (11)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2288
if (item.
Overflow
!= ToolStripItemOverflow.Always)
2347
if (item.
Overflow
!= ToolStripItemOverflow.Always)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
346
get => base.
Overflow
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (8)
78
if (item.
Overflow
== ToolStripItemOverflow.Always)
83
if (item.
Overflow
!= ToolStripItemOverflow.Always && item.Placement == ToolStripItemPlacement.None)
128
if (item.
Overflow
== ToolStripItemOverflow.Always)
133
if (item.
Overflow
!= ToolStripItemOverflow.Always && item.Placement == ToolStripItemPlacement.None)
276
if (!needOverflow && (item.
Overflow
== ToolStripItemOverflow.AsNeeded && item.Placement == ToolStripItemPlacement.Overflow))
418
if (!needOverflow && (item.
Overflow
== ToolStripItemOverflow.AsNeeded && item.Placement == ToolStripItemPlacement.Overflow))
529
if (item.
Overflow
!= ToolStripItemOverflow.Always)
581
if (item.
Overflow
== ToolStripItemOverflow.AsNeeded && item.Placement != ToolStripItemPlacement.Overflow)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
189
if (value != ToolStripItem.
Overflow
)
System.Windows.Forms.Tests (25)
System\Windows\Forms\ToolStripButtonTests.cs (6)
72
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
153
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
240
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
330
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
418
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
516
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
101
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
72
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
161
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
260
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
368
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
System\Windows\Forms\ToolStripItemTests.cs (13)
71
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
156
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
251
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);
6233
Assert.Equal(value, item.
Overflow
);
6238
Assert.Equal(value, item.
Overflow
);
6267
Assert.Equal(value, item.
Overflow
);
6275
Assert.Equal(value, item.
Overflow
);
6319
Assert.Equal(value, item.
Overflow
);
6330
Assert.Equal(value, item.
Overflow
);
6361
Assert.Equal(value, item.
Overflow
);
6369
Assert.Equal(value, item.
Overflow
);
6404
Assert.Equal(value, item.
Overflow
);
6415
Assert.Equal(value, item.
Overflow
);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
69
Assert.Equal(ToolStripItemOverflow.AsNeeded, item.
Overflow
);