60 references to LayoutEventArgs
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (1)
8318
PerformLayout(new
LayoutEventArgs
(affectedControl, affectedProperty));
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
655
OnLayout(new
LayoutEventArgs
(this, PropertyNames.Rows));
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\ByteViewerTests.cs (15)
309
yield return new object[] { new
LayoutEventArgs
(null, null) };
310
yield return new object[] { new
LayoutEventArgs
(new Control(), null) };
311
yield return new object[] { new
LayoutEventArgs
(new Control(), string.Empty) };
312
yield return new object[] { new
LayoutEventArgs
(new Control(), "ChildIndex") };
313
yield return new object[] { new
LayoutEventArgs
(new Control(), "Visible") };
314
yield return new object[] { new
LayoutEventArgs
(new Control(), "Items") };
315
yield return new object[] { new
LayoutEventArgs
(new Control(), "Rows") };
316
yield return new object[] { new
LayoutEventArgs
(new Control(), "Columns") };
317
yield return new object[] { new
LayoutEventArgs
(new Control(), "RowStyles") };
318
yield return new object[] { new
LayoutEventArgs
(new Control(), "ColumnStyles") };
319
yield return new object[] { new
LayoutEventArgs
(new Control(), "TableIndex") };
320
yield return new object[] { new
LayoutEventArgs
(new Control(), "GrowStyle") };
321
yield return new object[] { new
LayoutEventArgs
(new Control(), "CellBorderStyle") };
322
yield return new object[] { new
LayoutEventArgs
(new Control(), "LayoutSettings") };
323
yield return new object[] { new
LayoutEventArgs
(new Control(), "NoSuchProperty") };
System.Windows.Forms.Tests (41)
System\Windows\Forms\Layout\FlowLayoutTests.cs (2)
281
Assert.Throws<NotSupportedException>(() => engine.Layout("container", new
LayoutEventArgs
(control, "affectedProperty")));
289
Assert.Throws<ArgumentNullException>("container", () => engine.Layout(null, new
LayoutEventArgs
(control, "affectedProperty")));
System\Windows\Forms\LayoutEventArgsTests.cs (1)
39
LayoutEventArgs e =
new
(affectedControl, affectedProperty);
System\Windows\Forms\ScrollableControlTests.cs (4)
1391
yield return new object[] { true, new
LayoutEventArgs
(null, null), 1, null };
1392
yield return new object[] { true, new
LayoutEventArgs
(affectedControl = new Control(), "affectedProperty"), 2, affectedControl };
1395
yield return new object[] { false, new
LayoutEventArgs
(null, null), 1, null };
1396
yield return new object[] { false, new
LayoutEventArgs
(affectedControl = new Control(), "affectedProperty"), 1, affectedControl };
System\Windows\Forms\StatusStripTests.cs (3)
1131
yield return new object[] { layoutStyle, dock, new
LayoutEventArgs
(null, null) };
1132
yield return new object[] { layoutStyle, dock, new
LayoutEventArgs
(new Control(), "AffectedProperty") };
1169
LayoutEventArgs eventArgs =
new
(null, null);
System\Windows\Forms\TableLayoutPanelTests.cs (15)
1319
yield return new object[] { new
LayoutEventArgs
(null, null) };
1320
yield return new object[] { new
LayoutEventArgs
(new Control(), null) };
1321
yield return new object[] { new
LayoutEventArgs
(new Control(), string.Empty) };
1322
yield return new object[] { new
LayoutEventArgs
(new Control(), "ChildIndex") };
1323
yield return new object[] { new
LayoutEventArgs
(new Control(), "Visible") };
1324
yield return new object[] { new
LayoutEventArgs
(new Control(), "Items") };
1325
yield return new object[] { new
LayoutEventArgs
(new Control(), "Rows") };
1326
yield return new object[] { new
LayoutEventArgs
(new Control(), "Columns") };
1327
yield return new object[] { new
LayoutEventArgs
(new Control(), "RowStyles") };
1328
yield return new object[] { new
LayoutEventArgs
(new Control(), "ColumnStyles") };
1329
yield return new object[] { new
LayoutEventArgs
(new Control(), "TableIndex") };
1330
yield return new object[] { new
LayoutEventArgs
(new Control(), "GrowStyle") };
1331
yield return new object[] { new
LayoutEventArgs
(new Control(), "CellBorderStyle") };
1332
yield return new object[] { new
LayoutEventArgs
(new Control(), "LayoutSettings") };
1333
yield return new object[] { new
LayoutEventArgs
(new Control(), "NoSuchProperty") };
System\Windows\Forms\ToolStripDropDownTests.cs (14)
4135
yield return new object[] { true, new
LayoutEventArgs
(null, null), 2 };
4136
yield return new object[] { true, new
LayoutEventArgs
(new Control(), "affectedProperty"), 2 };
4139
yield return new object[] { false, new
LayoutEventArgs
(null, null), 1 };
4140
yield return new object[] { false, new
LayoutEventArgs
(new Control(), "affectedProperty"), 1 };
4185
yield return new object[] { autoSize, new
LayoutEventArgs
(null, null) };
4186
yield return new object[] { autoSize, new
LayoutEventArgs
(new Control(), "affectedProperty") };
4328
yield return new object[] { true, new
LayoutEventArgs
(null, null), 2, 3 };
4329
yield return new object[] { true, new
LayoutEventArgs
(new Control(), "affectedProperty"), 2, 3 };
4332
yield return new object[] { false, new
LayoutEventArgs
(null, null), 1, 1 };
4333
yield return new object[] { false, new
LayoutEventArgs
(new Control(), "affectedProperty"), 1, 1 };
4493
yield return new object[] { true, new
LayoutEventArgs
(null, null), 2, 3 };
4494
yield return new object[] { true, new
LayoutEventArgs
(new Control(), "affectedProperty"), 2, 3 };
4497
yield return new object[] { false, new
LayoutEventArgs
(null, null), 1, 1 };
4498
yield return new object[] { false, new
LayoutEventArgs
(new Control(), "affectedProperty"), 1, 1 };
System\Windows\Forms\UpDownBaseTests.cs (2)
1963
yield return new object[] { borderStyle, rightToLeft, upDownAlign, new
LayoutEventArgs
(null, null) };
1964
yield return new object[] { borderStyle, rightToLeft, upDownAlign, new
LayoutEventArgs
(new Control(), "affectedProperty") };
System.Windows.Forms.TestUtilities (2)
CommonTestHelperEx.cs (2)
144
new
(null, null),
145
new
(new Control(), "affectedProperty")