42 instantiations of LayoutTransaction
System.Windows.Forms (42)
System\Windows\Forms\Control.cs (8)
1949
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Font))
2974
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeft))
3853
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Padding))
6920
using (new
LayoutTransaction
(this, this, PropertyNames.Font, resumeLayout: false))
9630
using (new
LayoutTransaction
(this, this, PropertyNames.Bounds, resumeLayout: false))
9669
using (new
LayoutTransaction
(this, this, PropertyNames.Bounds, false))
10485
using (new
LayoutTransaction
(_parent, this, PropertyNames.Visible))
10826
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Font))
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2267
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Bounds))
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
772
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1340
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
587
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
389
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
629
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (8)
352
using (new
LayoutTransaction
(this, this, PropertyNames.Anchor))
647
using (new
LayoutTransaction
(this, this, PropertyNames.Dock))
648
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Dock))
1707
using (new
LayoutTransaction
(this, this, "TextDirection"))
2539
using (new
LayoutTransaction
(this, this, "ShowKeyboardFocusCues", resumeLayout: Visible))
3613
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeft))
4530
using (new
LayoutTransaction
(this, this, PropertyNames.Orientation))
4556
using (new
LayoutTransaction
(this, this, PropertyNames.Orientation))
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
621
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeft))
1230
using (new
LayoutTransaction
(this, OwnerItem, PropertyNames.Font))
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (2)
126
using (new
LayoutTransaction
(_owner, _owner!, PropertyNames.Items))
152
using (new
LayoutTransaction
(_owner, _owner!, PropertyNames.Items))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
989
using (new
LayoutTransaction
(panel, panel, null))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelControlCollection.cs (1)
24
using (new
LayoutTransaction
(value, value, PropertyNames.Parent))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
56
using LayoutTransaction lt =
new
(parent, this, null);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (2)
227
using LayoutTransaction t =
new
(ToolStripPanel, control, PropertyNames.Parent);
240
layoutTransaction = new
LayoutTransaction
(ToolStripPanel, ToolStripPanel.ParentInternal, PropertyNames.Parent);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
463
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
968
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Form.cs (1)
1697
using (new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Layout\CommonProperties.cs (1)
227
using (new
LayoutTransaction
(element.Container as Control, element, PropertyNames.MinimumSize))
System\Windows\Forms\Layout\Containers\ContainerControl.cs (3)
1093
using (new
LayoutTransaction
(this, this, PropertyNames.Bounds, false))
1361
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Font))
1401
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Font))
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1340
using (new Layout.
LayoutTransaction
(this, this, "SplitterDistance", false))
System\Windows\Forms\Layout\DefaultLayout.cs (1)
943
using (new
LayoutTransaction
(element.Container as Control, element, PropertyNames.Dock))
System\Windows\Forms\Layout\LayoutTransaction.cs (1)
75
return new
LayoutTransaction
(controlToLayout, elementCausingLayout, property);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
47
using (new
LayoutTransaction
(this, this, PropertyNames.LayoutSettings))
117 references to LayoutTransaction
System.Windows.Forms (117)
System\Windows\Forms\Control.ControlCollection.cs (3)
121
LayoutTransaction
.DoLayout(Owner, value, PropertyNames.Parent);
301
LayoutTransaction
.DoLayout(Owner, value, PropertyNames.Parent);
438
LayoutTransaction
.DoLayout(Owner, child, PropertyNames.ChildIndex);
System\Windows\Forms\Control.cs (12)
722
LayoutTransaction
.DoLayout(parent, this, PropertyNames.AutoSize);
3493
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.UseCompatibleTextRendering);
3863
LayoutTransaction
.DoLayout(this, this, PropertyNames.Padding);
4625
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
6930
LayoutTransaction
.DoLayout(this, this, PropertyNames.Font);
8056
LayoutTransaction
.DoLayout(this, this, PropertyNames.Bounds);
8489
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.PreferredSize);
9642
LayoutTransaction
.DoLayout(this, this, PropertyNames.Bounds);
9680
LayoutTransaction
.DoLayout(this, this, PropertyNames.Bounds);
10082
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
10131
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
10926
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
System\Windows\Forms\Controls\Buttons\Button.cs (1)
70
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (7)
398
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.FlatStyle);
466
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Image);
489
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign);
745
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.TextAlign);
774
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.TextImageRelation);
797
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Text);
1164
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
75
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Appearance))
147
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.CheckAlign);
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (1)
44
LayoutTransaction
.DoLayoutIf(
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
89
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Appearance))
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (5)
1078
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle))
1667
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ColumnHeadersVisible))
3356
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.RowHeadersVisible))
3404
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.RowHeadersWidth))
3591
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ScrollBars))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
13292
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Columns);
14526
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Columns);
17571
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Rows);
26711
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ColumnHeadersHeight))
28988
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Rows);
29038
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Rows);
29060
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Rows);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
106
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
System\Windows\Forms\Controls\Labels\Label.cs (6)
153
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.AutoEllipsis);
220
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle);
345
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle);
558
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign);
785
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
1211
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
201
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.LinkArea);
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (3)
163
LayoutTransaction
.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links);
307
LayoutTransaction
.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links);
345
LayoutTransaction
.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
415
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.DrawMode);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
422
LayoutTransaction
.DoLayoutIf(AutoSize, this, this, PropertyNames.Image);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
645
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ScrollBars))
1341
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (3)
364
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle))
727
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Multiline))
1169
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.WordWrap))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (8)
814
LayoutTransaction
.DoLayout(this, this, PropertyNames.GripStyle);
932
LayoutTransaction
.DoLayoutIf((Items.Count > 0), this, this, PropertyNames.ImageScalingSize);
1249
using (
LayoutTransaction
.CreateTransactionIf(IsHandleCreated, this, this, PropertyNames.LayoutStyle))
1963
LayoutTransaction
.DoLayout(this, e.Item, PropertyNames.Items);
1977
LayoutTransaction
.DoLayout(OverflowButton.DropDown, e.Item, PropertyNames.Items);
2516
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, this, this, PropertyNames.Renderer))
2533
LayoutTransaction
.DoLayout(this, this, null);
4547
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Orientation);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
113
LayoutTransaction
.DoLayout(this, this, PropertyNames.AutoSize);
1017
LayoutTransaction
.DoLayout(this, this, PropertyNames.PreferredSize);
1569
LayoutTransaction
.DoLayout(this, this, PropertyNames.Visible);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
447
LayoutTransaction
.DoLayout(DropDown, this, PropertyNames.RightToLeft);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
117
LayoutTransaction
.DoLayout(_owner.DropDown, _owner.DropDown, PropertyNames.Items);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
175
LayoutTransaction
.DoLayout(this, this, PropertyNames.ShowImageMargin);
192
LayoutTransaction
.DoLayout(this, this, PropertyNames.ShowCheckMargin);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (5)
617
LayoutTransaction
.DoLayout(this, ParentInternal, PropertyNames.Anchor);
645
LayoutTransaction
.DoLayout(this, ParentInternal, PropertyNames.Dock);
1505
LayoutTransaction
.DoLayout(Owner, Owner, "Overflow");
2387
LayoutTransaction
.DoLayout(Owner, this, affectedProperty);
2639
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
321
LayoutTransaction
.DoLayout(_owner, value, PropertyNames.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (3)
401
LayoutTransaction
.DoLayout(ParentInternal, this, "ShortcutKeys");
432
LayoutTransaction
.DoLayout(parent, this, "ShortcutKeyDisplayString");
462
LayoutTransaction
.DoLayout(parent, this, "ShortcutKeys");
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (3)
131
LayoutTransaction
.DoLayout(this, this, "RowMargin");
488
LayoutTransaction
.DoLayout(draggedControl.ToolStripPanelRow, e.AffectedComponent as IArrangedElement, e.AffectedProperty);
948
LayoutTransaction
.DoLayout(RowsInternal[i], this, PropertyNames.Rows);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
144
LayoutTransaction
.DoLayout(_owner, value, PropertyNames.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
56
using
LayoutTransaction
lt = new(parent, this, null);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (2)
227
using
LayoutTransaction
t = new(ToolStripPanel, control, PropertyNames.Parent);
237
LayoutTransaction
? layoutTransaction = null;
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (2)
119
LayoutTransaction
.DoLayout(Owner, this, PropertyNames.BorderStyle);
140
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Spring);
System\Windows\Forms\Form.cs (2)
503
LayoutTransaction
.DoLayout(this, this, PropertyNames.AutoSize);
554
LayoutTransaction
.DoLayout(toLayout, this, PropertyNames.AutoSize);
System\Windows\Forms\Layout\ArrangedElement.cs (1)
142
LayoutTransaction
.DoLayout(Parent, this, PropertyNames.Visible);
System\Windows\Forms\Layout\CommonProperties.cs (3)
192
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.Margin);
212
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.MaximumSize);
658
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.FlowBreak);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
759
LayoutTransaction
.DoLayout(this, this, PropertyNames.Bounds);
System\Windows\Forms\Layout\DefaultLayout.cs (2)
922
LayoutTransaction
.DoLayout(element.Container.Container, element, PropertyNames.Anchor);
925
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.Anchor);
System\Windows\Forms\Layout\FlowLayout.cs (2)
288
LayoutTransaction
.DoLayout(container, container, PropertyNames.WrapContents);
300
LayoutTransaction
.DoLayout(container, container, PropertyNames.FlowDirection);
System\Windows\Forms\Panels\Panel.cs (1)
85
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (7)
77
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.CellBorderStyle);
106
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.Columns);
132
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.Rows);
196
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.GrowStyle);
267
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.ColumnSpan);
305
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.RowSpan);
446
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.TableIndex);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyle.cs (2)
28
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.Style);
50
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.Style);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
160
LayoutTransaction
.DoLayout(Owner, Owner, PropertyName);
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
84
LayoutTransaction
.DoLayout(this, this, PropertyNames.AutoScroll);
294
LayoutTransaction
.DoLayout(this, this, PropertyNames.DisplayRectangle);
651
LayoutTransaction
.DoLayout(this, this, PropertyNames.RightToLeft);
695
LayoutTransaction
.DoLayout(this, this, PropertyNames.Visible);
System\Windows\Forms\UserControl.cs (1)
93
LayoutTransaction
.DoLayout(toLayout, this, PropertyNames.AutoSize);