69 instantiations of LayoutEventArgs
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (2)
8323PerformLayout(new LayoutEventArgs(affectedControl, affectedProperty)); 12578PerformLayout(new LayoutEventArgs(affectedElement, affectedProperty));
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
663OnLayout(new LayoutEventArgs(this, PropertyNames.Rows));
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
697OnLayout(new LayoutEventArgs(container, propertyName));
System\Windows\Forms\Layout\ArrangedElement.cs (1)
161OnLayout(new LayoutEventArgs(container, propertyName));
System\Windows\Forms\Layout\LayoutTransaction.cs (1)
55_controlToLayout.PerformLayout(new LayoutEventArgs(controlCausingLayout, property));
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\ByteViewerTests.cs (15)
309yield return new object[] { new LayoutEventArgs(null, null) }; 310yield return new object[] { new LayoutEventArgs(new Control(), null) }; 311yield return new object[] { new LayoutEventArgs(new Control(), string.Empty) }; 312yield return new object[] { new LayoutEventArgs(new Control(), "ChildIndex") }; 313yield return new object[] { new LayoutEventArgs(new Control(), "Visible") }; 314yield return new object[] { new LayoutEventArgs(new Control(), "Items") }; 315yield return new object[] { new LayoutEventArgs(new Control(), "Rows") }; 316yield return new object[] { new LayoutEventArgs(new Control(), "Columns") }; 317yield return new object[] { new LayoutEventArgs(new Control(), "RowStyles") }; 318yield return new object[] { new LayoutEventArgs(new Control(), "ColumnStyles") }; 319yield return new object[] { new LayoutEventArgs(new Control(), "TableIndex") }; 320yield return new object[] { new LayoutEventArgs(new Control(), "GrowStyle") }; 321yield return new object[] { new LayoutEventArgs(new Control(), "CellBorderStyle") }; 322yield return new object[] { new LayoutEventArgs(new Control(), "LayoutSettings") }; 323yield return new object[] { new LayoutEventArgs(new Control(), "NoSuchProperty") };
System.Windows.Forms.Tests (46)
System\Windows\Forms\Layout\FlowLayoutTests.cs (2)
281Assert.Throws<NotSupportedException>(() => engine.Layout("container", new LayoutEventArgs(control, "affectedProperty"))); 289Assert.Throws<ArgumentNullException>("container", () => engine.Layout(null, new LayoutEventArgs(control, "affectedProperty")));
System\Windows\Forms\Layout\LayoutEngineTests.cs (3)
35Assert.False(engine.Layout(new ScrollableControl(), new LayoutEventArgs(new Component(), "affectedProperty"))); 42Assert.Throws<NotSupportedException>(() => engine.Layout("container", new LayoutEventArgs(new Component(), "affectedProperty"))); 49Assert.Throws<ArgumentNullException>("container", () => engine.Layout(null, new LayoutEventArgs(new Component(), "affectedProperty")));
System\Windows\Forms\LayoutEventArgsTests.cs (2)
22LayoutEventArgs e = new(affectedComponent, affectedProperty); 39LayoutEventArgs e = new(affectedControl, affectedProperty);
System\Windows\Forms\ScrollableControlTests.cs (4)
1391yield return new object[] { true, new LayoutEventArgs(null, null), 1, null }; 1392yield return new object[] { true, new LayoutEventArgs(affectedControl = new Control(), "affectedProperty"), 2, affectedControl }; 1395yield return new object[] { false, new LayoutEventArgs(null, null), 1, null }; 1396yield return new object[] { false, new LayoutEventArgs(affectedControl = new Control(), "affectedProperty"), 1, affectedControl };
System\Windows\Forms\StatusStripTests.cs (4)
1131yield return new object[] { layoutStyle, dock, new LayoutEventArgs(null, null) }; 1132yield return new object[] { layoutStyle, dock, new LayoutEventArgs(new Control(), "AffectedProperty") }; 1133yield return new object[] { layoutStyle, dock, new LayoutEventArgs(new SubToolStripItem(), "AffectedProperty") }; 1169LayoutEventArgs eventArgs = new(null, null);
System\Windows\Forms\TableLayoutPanelTests.cs (15)
1319yield return new object[] { new LayoutEventArgs(null, null) }; 1320yield return new object[] { new LayoutEventArgs(new Control(), null) }; 1321yield return new object[] { new LayoutEventArgs(new Control(), string.Empty) }; 1322yield return new object[] { new LayoutEventArgs(new Control(), "ChildIndex") }; 1323yield return new object[] { new LayoutEventArgs(new Control(), "Visible") }; 1324yield return new object[] { new LayoutEventArgs(new Control(), "Items") }; 1325yield return new object[] { new LayoutEventArgs(new Control(), "Rows") }; 1326yield return new object[] { new LayoutEventArgs(new Control(), "Columns") }; 1327yield return new object[] { new LayoutEventArgs(new Control(), "RowStyles") }; 1328yield return new object[] { new LayoutEventArgs(new Control(), "ColumnStyles") }; 1329yield return new object[] { new LayoutEventArgs(new Control(), "TableIndex") }; 1330yield return new object[] { new LayoutEventArgs(new Control(), "GrowStyle") }; 1331yield return new object[] { new LayoutEventArgs(new Control(), "CellBorderStyle") }; 1332yield return new object[] { new LayoutEventArgs(new Control(), "LayoutSettings") }; 1333yield return new object[] { new LayoutEventArgs(new Control(), "NoSuchProperty") };
System\Windows\Forms\ToolStripDropDownTests.cs (14)
4135yield return new object[] { true, new LayoutEventArgs(null, null), 2 }; 4136yield return new object[] { true, new LayoutEventArgs(new Control(), "affectedProperty"), 2 }; 4139yield return new object[] { false, new LayoutEventArgs(null, null), 1 }; 4140yield return new object[] { false, new LayoutEventArgs(new Control(), "affectedProperty"), 1 }; 4185yield return new object[] { autoSize, new LayoutEventArgs(null, null) }; 4186yield return new object[] { autoSize, new LayoutEventArgs(new Control(), "affectedProperty") }; 4328yield return new object[] { true, new LayoutEventArgs(null, null), 2, 3 }; 4329yield return new object[] { true, new LayoutEventArgs(new Control(), "affectedProperty"), 2, 3 }; 4332yield return new object[] { false, new LayoutEventArgs(null, null), 1, 1 }; 4333yield return new object[] { false, new LayoutEventArgs(new Control(), "affectedProperty"), 1, 1 }; 4493yield return new object[] { true, new LayoutEventArgs(null, null), 2, 3 }; 4494yield return new object[] { true, new LayoutEventArgs(new Control(), "affectedProperty"), 2, 3 }; 4497yield return new object[] { false, new LayoutEventArgs(null, null), 1, 1 }; 4498yield return new object[] { false, new LayoutEventArgs(new Control(), "affectedProperty"), 1, 1 };
System\Windows\Forms\UpDownBaseTests.cs (2)
1963yield return new object[] { borderStyle, rightToLeft, upDownAlign, new LayoutEventArgs(null, null) }; 1964yield return new object[] { borderStyle, rightToLeft, upDownAlign, new LayoutEventArgs(new Control(), "affectedProperty") };
System.Windows.Forms.TestUtilities (2)
CommonTestHelperEx.cs (2)
144new(null, null), 145new(new Control(), "affectedProperty")
468 references to LayoutEventArgs
System.Windows.Forms (33)
System\Windows\Forms\Application.MarshallingControl.cs (1)
37protected override void OnLayout(LayoutEventArgs levent)
System\Windows\Forms\Application.ParkingWindow.cs (1)
136protected override void OnLayout(LayoutEventArgs levent) { }
System\Windows\Forms\Control.cs (3)
269private LayoutEventArgs? _cachedLayoutEventArgs; 7636protected virtual void OnLayout(LayoutEventArgs levent) 8326internal void PerformLayout(LayoutEventArgs args)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
15773protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
108protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
318protected override void OnLayout(LayoutEventArgs levent)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
332protected override void OnLayout(LayoutEventArgs levent)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3252protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
675protected internal override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1146protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
541protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2650protected internal virtual void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
99protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
480protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
366protected virtual void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
180private protected override bool LayoutCore(IArrangedElement container, LayoutEventArgs layoutEventArgs)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
792protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Form.cs (1)
4195protected override void OnLayout(LayoutEventArgs levent)
System\Windows\Forms\Layout\ArrangedElement.cs (1)
164protected virtual void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
891protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1040protected override void OnLayout(LayoutEventArgs e)
System\Windows\Forms\Layout\DefaultLayout.cs (1)
590private protected override bool LayoutCore(IArrangedElement container, LayoutEventArgs args)
System\Windows\Forms\Layout\FlowLayout.cs (1)
15private protected override bool LayoutCore(IArrangedElement container, LayoutEventArgs args)
System\Windows\Forms\Layout\LayoutEngine.cs (3)
36internal virtual void ProcessSuspendedLayoutEventArgs(IArrangedElement container, LayoutEventArgs args) 40public virtual bool Layout(object container, LayoutEventArgs layoutEventArgs) 46private protected virtual bool LayoutCore(IArrangedElement container, LayoutEventArgs layoutEventArgs)
System\Windows\Forms\Layout\LayoutEventHandler.cs (1)
6public delegate void LayoutEventHandler(object? sender, LayoutEventArgs e);
System\Windows\Forms\Layout\TableLayout.cs (2)
63internal override void ProcessSuspendedLayoutEventArgs(IArrangedElement container, LayoutEventArgs args) 95private protected override bool LayoutCore(IArrangedElement container, LayoutEventArgs args)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
319protected override void OnLayout(LayoutEventArgs levent)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
581protected override void OnLayout(LayoutEventArgs levent)
System.Windows.Forms.Design (6)
System\ComponentModel\Design\ByteViewer.cs (1)
544protected override void OnLayout(LayoutEventArgs e)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
456protected override void OnLayout(LayoutEventArgs levent)
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
69protected override void OnLayout(LayoutEventArgs levent)
System\Windows\Forms\Design\ComponentTray.cs (1)
1175protected override void OnLayout(LayoutEventArgs levent)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
329private void sampleDataGridView_Layout(object? sender, LayoutEventArgs e)
System\Windows\Forms\Design\DesignerFrame.cs (1)
387protected override void OnLayout(LayoutEventArgs e)
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ByteViewerTests.cs (3)
328public void ByteViewer_OnLayout_Invoke_CallsLayout(LayoutEventArgs eventArgs) 354public void ByteViewer_OnLayout_InvokeWithHandle_CallsLayout(LayoutEventArgs eventArgs) 1086public new void OnLayout(LayoutEventArgs levent) => base.OnLayout(levent);
System.Windows.Forms.Tests (423)
System\Windows\Forms\ButtonBaseTests.cs (18)
1146void parentHandler(object sender, LayoutEventArgs e) 1317void parentHandler(object sender, LayoutEventArgs e) 1559void parentHandler(object sender, LayoutEventArgs e) 1734void parentHandler(object sender, LayoutEventArgs e) 1894void parentHandler(object sender, LayoutEventArgs e) 2006void parentHandler(object sender, LayoutEventArgs e) 3084void parentHandler(object sender, LayoutEventArgs e) 3187void parentHandler(object sender, LayoutEventArgs e) 3325void parentHandler(object sender, LayoutEventArgs e) 3449void parentHandler(object sender, LayoutEventArgs e) 3558void parentHandler(object sender, LayoutEventArgs e) 3675void parentHandler(object sender, LayoutEventArgs e) 3768void parentHandler(object sender, LayoutEventArgs e) 3872void parentHandler(object sender, LayoutEventArgs e) 3978void parentHandler(object sender, LayoutEventArgs e) 4102void parentHandler(object sender, LayoutEventArgs e) 7197void parentHandler(object sender, LayoutEventArgs e) 7307void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\ButtonTests.cs (8)
305void parentHandler(object sender, LayoutEventArgs e) 354void parentHandler(object sender, LayoutEventArgs e) 453void parentHandler(object sender, LayoutEventArgs e) 526void parentHandler(object sender, LayoutEventArgs e) 800void parentHandler(object sender, LayoutEventArgs e) 903void parentHandler(object sender, LayoutEventArgs e) 2931void parentHandler(object sender, LayoutEventArgs e) 3041void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\ContainerControlTests.cs (2)
722public void ContainerControl_OnLayout_Invoke_CallsLayout(LayoutEventArgs eventArgs) 1495public new void OnLayout(LayoutEventArgs e) => base.OnLayout(e);
System\Windows\Forms\ControlTests.ControlCollection.cs (21)
39void parentHandler(object sender, LayoutEventArgs e) 114void parentHandler(object sender, LayoutEventArgs e) 192void parentHandler(object sender, LayoutEventArgs e) 228void parentHandler(object sender, LayoutEventArgs e) 486void parentHandler(object sender, LayoutEventArgs e) 1213void parentHandler(object sender, LayoutEventArgs e) 1345void parentHandler(object sender, LayoutEventArgs e) 1925void parentHandler(object sender, LayoutEventArgs e) 1989void parentHandler(object sender, LayoutEventArgs e) 2052void parentHandler(object sender, LayoutEventArgs e) 2128void parentHandler(object sender, LayoutEventArgs e) 2796void parentHandler(object sender, LayoutEventArgs e) 2858void parentHandler(object sender, LayoutEventArgs e) 2952void parentHandler(object sender, LayoutEventArgs e) 3049void parentHandler(object sender, LayoutEventArgs e) 3117void parentHandler(object sender, LayoutEventArgs e) 3170void parentHandler(object sender, LayoutEventArgs e) 3249void parentHandler(object sender, LayoutEventArgs e) 3343void parentHandler(object sender, LayoutEventArgs e) 3437void parentHandler(object sender, LayoutEventArgs e) 3526void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\ControlTests.cs (1)
1308public new void OnLayout(LayoutEventArgs e) => base.OnLayout(e);
System\Windows\Forms\ControlTests.Handlers.cs (3)
3070public void Control_OnLayout_Invoke_CallsLayout(LayoutEventArgs eventArgs) 3094public void Control_OnLayout_InvokeWithHandle_CallsLayout(LayoutEventArgs eventArgs) 3133public void Control_OnLayout_InvokeWithParent_CallsLayout(LayoutEventArgs eventArgs)
System\Windows\Forms\ControlTests.Methods.cs (32)
144void parentHandler(object sender, LayoutEventArgs e) 186void parentHandler(object sender, LayoutEventArgs e) 241void parentHandler(object sender, LayoutEventArgs e) 308void parentHandler(object sender, LayoutEventArgs e) 4789.Setup(e => e.Layout(control, It.IsAny<LayoutEventArgs>())) 4804mockLayoutEngine.Verify(e => e.Layout(control, It.IsAny<LayoutEventArgs>()), Times.Once()); 4810mockLayoutEngine.Verify(e => e.Layout(control, It.IsAny<LayoutEventArgs>()), Times.Exactly(2)); 4859.Setup(e => e.Layout(control, It.IsAny<LayoutEventArgs>())) 4872void parentHandler(object sender, LayoutEventArgs e) 4885mockLayoutEngine.Verify(e => e.Layout(control, It.IsAny<LayoutEventArgs>()), Times.Once()); 4893mockLayoutEngine.Verify(e => e.Layout(control, It.IsAny<LayoutEventArgs>()), Times.Exactly(2)); 5043.Setup(e => e.Layout(control, It.IsAny<LayoutEventArgs>())) 5058mockLayoutEngine.Verify(e => e.Layout(control, It.IsAny<LayoutEventArgs>()), Times.Once()); 5064mockLayoutEngine.Verify(e => e.Layout(control, It.IsAny<LayoutEventArgs>()), Times.Exactly(2)); 5124.Setup(e => e.Layout(control, It.IsAny<LayoutEventArgs>())) 5137void parentHandler(object sender, LayoutEventArgs e) 5150mockLayoutEngine.Verify(e => e.Layout(control, It.IsAny<LayoutEventArgs>()), Times.Once()); 5158mockLayoutEngine.Verify(e => e.Layout(control, It.IsAny<LayoutEventArgs>()), Times.Exactly(2)); 7030void parentHandler(object sender, LayoutEventArgs e) 7072void parentHandler(object sender, LayoutEventArgs e) 7127void parentHandler(object sender, LayoutEventArgs e) 7194void parentHandler(object sender, LayoutEventArgs e) 7730void parentHandler(object sender, LayoutEventArgs e) 7988void parentHandler(object sender, LayoutEventArgs e) 8587void parentHandler(object sender, LayoutEventArgs e) 8845void parentHandler(object sender, LayoutEventArgs e) 9408void parentHandler(object sender, LayoutEventArgs e) 9721void parentHandler(object sender, LayoutEventArgs e) 11287void parentHandler(object sender, LayoutEventArgs e) 11526void parentHandler(object sender, LayoutEventArgs e) 11773void parentHandler(object sender, LayoutEventArgs e) 12024void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\ControlTests.Properties.cs (40)
418void parentHandler(object sender, LayoutEventArgs e) 467void parentHandler(object sender, LayoutEventArgs e) 476void grandparentHandler(object sender, LayoutEventArgs e) 565void parentHandler(object sender, LayoutEventArgs e) 688void parentHandler(object sender, LayoutEventArgs e) 697void grandparentHandler(object sender, LayoutEventArgs e) 830void parentHandler(object sender, LayoutEventArgs e) 954void parentHandler(object sender, LayoutEventArgs e) 1007.Setup(e => e.Layout(parent, It.IsAny<LayoutEventArgs>())) 1016void parentHandler(object sender, LayoutEventArgs e) 1032mockLayoutEngine.Verify(e => e.Layout(parent, It.IsAny<LayoutEventArgs>()), Times.Exactly(expectedLayoutCallCount)); 1041mockLayoutEngine.Verify(e => e.Layout(parent, It.IsAny<LayoutEventArgs>()), Times.Exactly(expectedLayoutCallCount)); 1050mockLayoutEngine.Verify(e => e.Layout(parent, It.IsAny<LayoutEventArgs>()), Times.Exactly(expectedLayoutCallCount + 1)); 1128void parentHandler(object sender, LayoutEventArgs e) 2744void parentHandler(object sender, LayoutEventArgs e) 2956void parentHandler(object sender, LayoutEventArgs e) 4191void parentHandler(object sender, LayoutEventArgs e) 4282void parentHandler(object sender, LayoutEventArgs e) 6021void parentHandler(object sender, LayoutEventArgs e) 6257void parentHandler(object sender, LayoutEventArgs e) 6770void parentHandler(object sender, LayoutEventArgs e) 6979void parentHandler(object sender, LayoutEventArgs e) 7249void parentHandler(object sender, LayoutEventArgs e) 7462void parentHandler(object sender, LayoutEventArgs e) 8108void parentHandler(object sender, LayoutEventArgs e) 8164void parentHandler(object sender, LayoutEventArgs e) 8317void parentHandler(object sender, LayoutEventArgs e) 8385void parentHandler(object sender, LayoutEventArgs e) 8758void parentHandler(object sender, LayoutEventArgs e) 8820void parentHandler(object sender, LayoutEventArgs e) 9066void parentHandler(object sender, LayoutEventArgs e) 9155void parentHandler(object sender, LayoutEventArgs e) 9453void parentHandler(object sender, LayoutEventArgs e) 9552void parentHandler(object sender, LayoutEventArgs e) 11420void parentHandler(object sender, LayoutEventArgs e) 11666void parentHandler(object sender, LayoutEventArgs e) 12204void parentHandler(object sender, LayoutEventArgs e) 12411void parentHandler(object sender, LayoutEventArgs e) 13440void parentHandler(object sender, LayoutEventArgs e) 13676void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\DataGridViewTests.cs (4)
124void parentHandler(object sender, LayoutEventArgs e) 271void parentHandler(object sender, LayoutEventArgs e) 1041void parentHandler(object sender, LayoutEventArgs e) 1195void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
365void parentHandler(object sender, LayoutEventArgs eventArgs)
System\Windows\Forms\FlowLayoutSettingsTests.cs (1)
184void parentHandler(object sender, LayoutEventArgs eventArgs)
System\Windows\Forms\GroupBoxTests.cs (6)
275void parentHandler(object sender, LayoutEventArgs e) 324void parentHandler(object sender, LayoutEventArgs e) 423void parentHandler(object sender, LayoutEventArgs e) 496void parentHandler(object sender, LayoutEventArgs e) 1227void parentHandler(object sender, LayoutEventArgs e) 1331void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (10)
509void parentHandler(object sender, LayoutEventArgs eventArgs) 582void parentHandler(object sender, LayoutEventArgs eventArgs) 728void parentHandler(object sender, LayoutEventArgs eventArgs) 809void parentHandler(object sender, LayoutEventArgs eventArgs) => parentLayoutCallCount++; 963void parentHandler(object sender, LayoutEventArgs eventArgs) 1040void parentHandler(object sender, LayoutEventArgs eventArgs) => parentLayoutCallCount++; 1204void parentHandler(object sender, LayoutEventArgs eventArgs) 1285void parentHandler(object sender, LayoutEventArgs eventArgs) => parentLayoutCallCount++; 1439void parentHandler(object sender, LayoutEventArgs eventArgs) 1516void parentHandler(object sender, LayoutEventArgs eventArgs) => parentLayoutCallCount++;
System\Windows\Forms\LayoutEventArgsTests.cs (6)
22LayoutEventArgs e = new(affectedComponent, affectedProperty); 39LayoutEventArgs e = new(affectedControl, affectedProperty); 48LayoutEventArgs layoutEventArgs = CreateAndDisposeControl(); 53static LayoutEventArgs CreateAndDisposeControl() 82LayoutEventArgs layoutEventArgs = (LayoutEventArgs)tableLayoutPanelTestAccessor.Dynamic._cachedLayoutEventArgs;
System\Windows\Forms\ListBoxTests.cs (1)
938void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\MdiClientTests.cs (3)
747void parentHandler(object sender, LayoutEventArgs e) 899void parentHandler(object sender, LayoutEventArgs e) 1061void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\PanelTests.cs (4)
263void parentHandler(object sender, LayoutEventArgs e) 312void parentHandler(object sender, LayoutEventArgs e) 411void parentHandler(object sender, LayoutEventArgs e) 484void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\RichTextBoxTests.cs (7)
468void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 2137void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 2194void parentHandler(object sender, LayoutEventArgs e) 2971void parentHandler(object sender, LayoutEventArgs e) 3107void parentHandler(object sender, LayoutEventArgs e) 7109void parentHandler(object sender, LayoutEventArgs e) 7344void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\ScrollableControlTests.cs (2)
1401public void ScrollableControl_OnLayout_Invoke_CallsLayout(bool autoScroll, LayoutEventArgs eventArgs, int expectedCallCount, Control affectedControl) 2646public new void OnLayout(LayoutEventArgs e) => base.OnLayout(e);
System\Windows\Forms\SplitterTests.cs (2)
540void parentHandler(object sender, LayoutEventArgs e) 609void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\StatusStripTests.cs (3)
1140public void Control_OnLayout_Invoke_CallsLayout(ToolStripLayoutStyle layoutStyle, DockStyle dock, LayoutEventArgs eventArgs) 1169LayoutEventArgs eventArgs = new(null, null); 1358public new void OnLayout(LayoutEventArgs levent) => base.OnLayout(levent);
System\Windows\Forms\TabControl.ControlCollectionTests.cs (16)
54List<LayoutEventArgs> events = []; 55void parentHandler(object sender, LayoutEventArgs e) 177List<LayoutEventArgs> events = []; 178void parentHandler(object sender, LayoutEventArgs e) 337List<LayoutEventArgs> events = []; 338void parentHandler(object sender, LayoutEventArgs e) 478List<LayoutEventArgs> events = []; 479void parentHandler(object sender, LayoutEventArgs e) 907List<LayoutEventArgs> events = []; 908void parentHandler(object sender, LayoutEventArgs e) 1005List<LayoutEventArgs> events = []; 1006void parentHandler(object sender, LayoutEventArgs e) 1130List<LayoutEventArgs> events = []; 1131void parentHandler(object sender, LayoutEventArgs e) 1242List<LayoutEventArgs> events = []; 1243void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (37)
39List<LayoutEventArgs> events = []; 40void parentHandler(object sender, LayoutEventArgs e) 165List<LayoutEventArgs> events = []; 166void parentHandler(object sender, LayoutEventArgs e) 328List<LayoutEventArgs> events = []; 329void parentHandler(object sender, LayoutEventArgs e) 472List<LayoutEventArgs> events = []; 473void parentHandler(object sender, LayoutEventArgs e) 987List<LayoutEventArgs> events = []; 988void parentHandler(object sender, LayoutEventArgs e) 1106void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 1302void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 1346void parentHandler(object sender, LayoutEventArgs e) 1411void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 1469void parentHandler(object sender, LayoutEventArgs e) 1981List<LayoutEventArgs> events = []; 1982void parentHandler(object sender, LayoutEventArgs e) 2102List<LayoutEventArgs> events = []; 2103void parentHandler(object sender, LayoutEventArgs e) 2271List<LayoutEventArgs> events = []; 2272void parentHandler(object sender, LayoutEventArgs e) 2421List<LayoutEventArgs> events = []; 2422void parentHandler(object sender, LayoutEventArgs e) 3027List<LayoutEventArgs> events = []; 3028void parentHandler(object sender, LayoutEventArgs e) 3993List<LayoutEventArgs> events = []; 3994void parentHandler(object sender, LayoutEventArgs e) 4094List<LayoutEventArgs> events = []; 4095void parentHandler(object sender, LayoutEventArgs e) 4224List<LayoutEventArgs> events = []; 4225void parentHandler(object sender, LayoutEventArgs e) 4341List<LayoutEventArgs> events = []; 4342void parentHandler(object sender, LayoutEventArgs e) 4713List<LayoutEventArgs> events = []; 4714void parentHandler(object sender, LayoutEventArgs e) 4824void parentHandler(object sender, LayoutEventArgs e) 4918void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\TabControlTests.cs (4)
4970void layoutHandler(object sender, LayoutEventArgs e) => layoutCallCount++; 5009void layoutHandler(object sender, LayoutEventArgs e) 5071void layoutHandler(object sender, LayoutEventArgs e) => layoutCallCount++; 5124void layoutHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\TableLayoutPanelTests.cs (9)
504void layoutHandler(object sender, LayoutEventArgs e) 1338public void TableLayoutPanel_OnLayout_Invoke_CallsLayout(LayoutEventArgs eventArgs) 1364public void TableLayoutPanel_OnLayout_InvokeWithHandle_CallsLayout(LayoutEventArgs eventArgs) 1602void parentHandler(object sender, LayoutEventArgs eventArgs) 1708void parentHandler(object sender, LayoutEventArgs eventArgs) 1817void parentHandler(object sender, LayoutEventArgs eventArgs) 1935void parentHandler(object sender, LayoutEventArgs eventArgs) 2044void parentHandler(object sender, LayoutEventArgs eventArgs) 2251public new void OnLayout(LayoutEventArgs levent) => base.OnLayout(levent);
System\Windows\Forms\TabPageTests.cs (4)
1975void parentHandler(object sender, LayoutEventArgs e) 2200void parentHandler(object sender, LayoutEventArgs e) 4465void parentHandler(object sender, LayoutEventArgs e) 4798void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (1)
33void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\ToolStripControlHostTests.cs (2)
2947public void ToolStripControlHost_OnLayout_Invoke_Nop(LayoutEventArgs eventArgs) 4683public new void OnLayout(LayoutEventArgs e) => base.OnLayout(e);
System\Windows\Forms\ToolStripDropDownTests.cs (11)
716void parentHandler(object sender, LayoutEventArgs e) 4145public void ToolStripDropDown_OnLayout_Invoke_CallsLayout(bool autoSize, LayoutEventArgs eventArgs, int expectedLayoutCallCount) 4192public void ToolStripDropDown_OnLayout_InvokeWithOverflowButton_CallsLayout(bool autoSize, LayoutEventArgs eventArgs) 4231public void ToolStripDropDown_OnLayout_InvokeWithOverflowButtonWithDropDown_CallsLayout(bool autoSize, LayoutEventArgs eventArgs) 4270public void ToolStripDropDown_OnLayout_InvokeWithItems_CallsLayout(bool autoSize, LayoutEventArgs eventArgs, int expectedLayoutCallCount) 4338public void ToolStripDropDown_OnLayout_InvokeWithHandle_CallsLayout(bool autoSize, LayoutEventArgs eventArgs, int expectedLayoutCallCount, int expectedInvalidatedCallCount) 4388public void ToolStripDropDown_OnLayout_InvokeWithOverflowButtonWithHandle_CallsLayout(bool autoSize, LayoutEventArgs eventArgs) 4440public void ToolStripDropDown_OnLayout_InvokeWithOverflowButtonWithDropDownWithHandle_CallsLayout(bool autoSize, LayoutEventArgs eventArgs) 4503public void ToolStripDropDown_OnLayout_InvokeWithItemsWithHandle_CallsLayout(bool autoSize, LayoutEventArgs eventArgs, int expectedLayoutCallCount, int expectedInvalidatedCallCount) 5066protected internal override void OnLayout(LayoutEventArgs e) 5210public new void OnLayout(LayoutEventArgs e) => base.OnLayout(e);
System\Windows\Forms\ToolStripItemTests.cs (123)
442void parentHandler(object sender, LayoutEventArgs e) 487void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 526void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 814void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 846void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 898void ownerHandler(object sender, LayoutEventArgs e) 951void ownerHandler(object sender, LayoutEventArgs e) 1005void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 1050void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 2139void ownerHandler(object sender, LayoutEventArgs e) 2187void ownerHandler(object sender, LayoutEventArgs e) 2232void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 2263void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 2384void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 2417void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 3013void ownerHandler(object sender, LayoutEventArgs e) 3060void ownerHandler(object sender, LayoutEventArgs e) 3107void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 3147void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 3486void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 3529void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 3574void parentHandler(object sender, LayoutEventArgs e) 3627void parentHandler(object sender, LayoutEventArgs e) 3905void ownerHandler(object sender, LayoutEventArgs e) 3957void ownerHandler(object sender, LayoutEventArgs e) 4008void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 4050void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 4203void ownerHandler(object sender, LayoutEventArgs e) 4257void ownerHandler(object sender, LayoutEventArgs e) 4302void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 4341void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 4461void ownerHandler(object sender, LayoutEventArgs e) 4510void ownerHandler(object sender, LayoutEventArgs e) 4562void ownerHandler(object sender, LayoutEventArgs e) 4611void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 4653void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 4696void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 4961void ownerHandler(object sender, LayoutEventArgs e) 5012void ownerHandler(object sender, LayoutEventArgs e) 5062void ownerHandler(object sender, LayoutEventArgs e) 5109void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 5149void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 5190void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 5430void ownerHandler(object sender, LayoutEventArgs e) 5477void ownerHandler(object sender, LayoutEventArgs e) 5522void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 5561void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 5922void ownerHandler(object sender, LayoutEventArgs e) 5968void ownerHandler(object sender, LayoutEventArgs e) 6013void parentHandler(object sender, LayoutEventArgs e) 6059void parentHandler(object sender, LayoutEventArgs e) 6254void ownerHandler(object sender, LayoutEventArgs e) 6306void ownerHandler(object sender, LayoutEventArgs e) 6355void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 6398void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 6751void ownerHandler(object sender, LayoutEventArgs e) 6797void ownerHandler(object sender, LayoutEventArgs e) 6842void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 6881void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 7188void ownerHandler(object sender, LayoutEventArgs e) 7237void ownerHandler(object sender, LayoutEventArgs e) 7298void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 7340void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 7496void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 7541void ownerHandler(object sender, LayoutEventArgs e) 7595void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 7641void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 7863void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 7906void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 7958void parentHandler(object sender, LayoutEventArgs e) 8008void parentHandler(object sender, LayoutEventArgs e) 8089void ownerHandler(object sender, LayoutEventArgs e) 8138void ownerHandler(object sender, LayoutEventArgs e) 8183void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 8223void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 8319void ownerHandler(object sender, LayoutEventArgs e) 8373void ownerHandler(object sender, LayoutEventArgs e) 8418void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 8457void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 8594void ownerHandler(object sender, LayoutEventArgs e) 8643void ownerHandler(object sender, LayoutEventArgs e) 8691void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 8733void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 8846void ownerHandler(object sender, LayoutEventArgs e) 8896void ownerHandler(object sender, LayoutEventArgs e) 8941void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 8980void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 9653void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 9696void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 9741void parentHandler(object sender, LayoutEventArgs e) 9794void parentHandler(object sender, LayoutEventArgs e) 10813void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 10844void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 10871void parentHandler(object sender, LayoutEventArgs e) 10909void parentHandler(object sender, LayoutEventArgs e) 11387void ownerHandler(object sender, LayoutEventArgs e) 11432void ownerHandler(object sender, LayoutEventArgs e) 11476void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 11514void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 11744public void ToolStripItem_OnLayout_Invoke_Nop(LayoutEventArgs eventArgs) 12297void ownerHandler(object sender, LayoutEventArgs e) 12351void ownerHandler(object sender, LayoutEventArgs e) 12408void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 12452void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 12764void ownerHandler(object sender, LayoutEventArgs e) 12821void ownerHandler(object sender, LayoutEventArgs e) 12877void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 12927void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 13000void ownerHandler(object sender, LayoutEventArgs e) 13057void ownerHandler(object sender, LayoutEventArgs e) 13113void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 13163void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 13288void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 13339void ownerHandler(object sender, LayoutEventArgs e) 13405void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 13471void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 13524void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 13575void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 14603void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 14657void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 14724void parentHandler(object sender, LayoutEventArgs e) 14785void parentHandler(object sender, LayoutEventArgs e) 15578public new void OnLayout(LayoutEventArgs e) => base.OnLayout(e);
System\Windows\Forms\ToolStripSeparatorTests.cs (8)
948void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 986void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 1023void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 1061void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 1404void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 1466void ownerHandler(object sender, LayoutEventArgs e) => ownerLayoutCallCount++; 1527void parentHandler(object sender, LayoutEventArgs e) 1581void parentHandler(object sender, LayoutEventArgs e)
System\Windows\Forms\ToolStripTests.cs (20)
920void parentHandler(object sender, LayoutEventArgs e) 978void parentHandler(object sender, LayoutEventArgs e) 2479void parentHandler(object sender, LayoutEventArgs e) 2585void parentHandler(object sender, LayoutEventArgs e) 2928void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 2992void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 3985void layoutHandler(object sender, LayoutEventArgs e) 4050void layoutHandler(object sender, LayoutEventArgs e) 5344public void ToolStrip_OnLayout_Invoke_CallsLayout(LayoutEventArgs eventArgs) 5379public void ToolStrip_OnLayout_InvokeWithOverflowButton_CallsLayout(LayoutEventArgs eventArgs) 5415public void ToolStrip_OnLayout_InvokeWithOverflowButtonWithDropDown_CallsLayout(LayoutEventArgs eventArgs) 5451public void ToolStrip_OnLayout_InvokeWithItems_CallsLayout(LayoutEventArgs eventArgs) 5505public void ToolStrip_OnLayout_InvokeWithHandle_CallsLayout(LayoutEventArgs eventArgs) 5553public void ToolStrip_OnLayout_InvokeWithOverflowButtonWithHandle_CallsLayout(LayoutEventArgs eventArgs) 5602public void ToolStrip_OnLayout_InvokeWithOverflowButtonWithDropDownWithHandle_CallsLayout(LayoutEventArgs eventArgs) 5651public void ToolStrip_OnLayout_InvokeWithItemsWithHandle_CallsLayout(LayoutEventArgs eventArgs) 7006void controlHandler(object sender, LayoutEventArgs e) => controlLayoutCallCount++; 7055void controlHandler(object sender, LayoutEventArgs e) => controlLayoutCallCount++; 7483protected internal override void OnLayout(LayoutEventArgs e) 7642public new void OnLayout(LayoutEventArgs e) => base.OnLayout(e);
System\Windows\Forms\UpDownBaseTests.cs (2)
1972public void UpDownBase_OnLayout_Invoke_CallsLayout(BorderStyle borderStyle, RightToLeft rightToLeft, LeftRightAlignment upDownAlign, LayoutEventArgs eventArgs) 3196public new void OnLayout(LayoutEventArgs e) => base.OnLayout(e);
System\Windows\Forms\UserControlTests.cs (5)
320void parentHandler(object sender, LayoutEventArgs e) 385void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 427void parentHandler(object sender, LayoutEventArgs e) 526void parentHandler(object sender, LayoutEventArgs e) 599void parentHandler(object sender, LayoutEventArgs e)
TextBoxBaseTests.cs (6)
293void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 586void parentHandler(object sender, LayoutEventArgs e) 2012void parentHandler(object sender, LayoutEventArgs e) 2072void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++; 3733void parentHandler(object sender, LayoutEventArgs e) 3784void parentHandler(object sender, LayoutEventArgs e) => parentLayoutCallCount++;
System.Windows.Forms.TestUtilities (2)
CommonTestHelperEx.cs (2)
139public static TheoryData<LayoutEventArgs> GetLayoutEventArgsTheoryData() 141TheoryData<LayoutEventArgs> data = new()
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
1041protected override void OnLayout(SWF.LayoutEventArgs e)