43 instantiations of LayoutTransaction
System.Windows.Forms (43)
System\Windows\Forms\Control.cs (9)
2130using (new LayoutTransaction(ParentInternal, this, PropertyNames.Font)) 3155using (new LayoutTransaction(this, this, PropertyNames.RightToLeft)) 4047using (new LayoutTransaction(ParentInternal, this, PropertyNames.Padding)) 7298using (new LayoutTransaction(this, this, PropertyNames.Font, resumeLayout: false)) 7692Transaction = new LayoutTransaction(target, cause, PropertyNames.VisualStylesMode, resumeLayout: false); 10414using (new LayoutTransaction(this, this, PropertyNames.Bounds, resumeLayout: false)) 10453using (new LayoutTransaction(this, this, PropertyNames.Bounds, false)) 11269using (new LayoutTransaction(_parent, this, PropertyNames.Visible)) 11610using (new LayoutTransaction(ParentInternal, this, PropertyNames.Font))
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2342using (new LayoutTransaction(ParentInternal, this, PropertyNames.Bounds))
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
772using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1340using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
587using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
399using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
629using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (8)
357using (new LayoutTransaction(this, this, PropertyNames.Anchor)) 652using (new LayoutTransaction(this, this, PropertyNames.Dock)) 653using (new LayoutTransaction(ParentInternal, this, PropertyNames.Dock)) 1706using (new LayoutTransaction(this, this, "TextDirection")) 2538using (new LayoutTransaction(this, this, "ShowKeyboardFocusCues", resumeLayout: Visible)) 3612using (new LayoutTransaction(this, this, PropertyNames.RightToLeft)) 4529using (new LayoutTransaction(this, this, PropertyNames.Orientation)) 4555using (new LayoutTransaction(this, this, PropertyNames.Orientation))
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
621using (new LayoutTransaction(this, this, PropertyNames.RightToLeft)) 1230using (new LayoutTransaction(this, OwnerItem, PropertyNames.Font))
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (2)
126using (new LayoutTransaction(_owner, _owner!, PropertyNames.Items)) 152using (new LayoutTransaction(_owner, _owner!, PropertyNames.Items))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
989using (new LayoutTransaction(panel, panel, null))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelControlCollection.cs (1)
24using (new LayoutTransaction(value, value, PropertyNames.Parent))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
56using LayoutTransaction lt = new(parent, this, null);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (2)
227using LayoutTransaction t = new(ToolStripPanel, control, PropertyNames.Parent); 240layoutTransaction = new LayoutTransaction(ToolStripPanel, ToolStripPanel.ParentInternal, PropertyNames.Parent);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
463using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
968using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Form.cs (1)
1700using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Layout\CommonProperties.cs (1)
227using (new LayoutTransaction(element.Container as Control, element, PropertyNames.MinimumSize))
System\Windows\Forms\Layout\Containers\ContainerControl.cs (3)
1093using (new LayoutTransaction(this, this, PropertyNames.Bounds, false)) 1361using (new LayoutTransaction(ParentInternal, this, PropertyNames.Font)) 1401using (new LayoutTransaction(ParentInternal, this, PropertyNames.Font))
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1340using (new Layout.LayoutTransaction(this, this, "SplitterDistance", false))
System\Windows\Forms\Layout\DefaultLayout.cs (1)
951using (new LayoutTransaction(element.Container as Control, element, PropertyNames.Dock))
System\Windows\Forms\Layout\LayoutTransaction.cs (1)
75return new LayoutTransaction(controlToLayout, elementCausingLayout, property);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
47using (new LayoutTransaction(this, this, PropertyNames.LayoutSettings))
134 references to LayoutTransaction
System.Windows.Forms (134)
System\Windows\Forms\Control.ControlCollection.cs (3)
121LayoutTransaction.DoLayout(Owner, value, PropertyNames.Parent); 301LayoutTransaction.DoLayout(Owner, value, PropertyNames.Parent); 438LayoutTransaction.DoLayout(Owner, child, PropertyNames.ChildIndex);
System\Windows\Forms\Control.cs (14)
732LayoutTransaction.DoLayout(parent, this, PropertyNames.AutoSize); 3674LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.UseCompatibleTextRendering); 4057LayoutTransaction.DoLayout(this, this, PropertyNames.Padding); 4842LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds); 7308LayoutTransaction.DoLayout(this, this, PropertyNames.Font); 7628LayoutTransaction.DoLayout(request.Target, request.Cause, PropertyNames.VisualStylesMode); 7699public LayoutTransaction Transaction { get; } 8719LayoutTransaction.DoLayout(this, this, PropertyNames.Bounds); 9273LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.PreferredSize); 10426LayoutTransaction.DoLayout(this, this, PropertyNames.Bounds); 10464LayoutTransaction.DoLayout(this, this, PropertyNames.Bounds); 10866LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds); 10915LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds); 11710LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds);
System\Windows\Forms\Controls\Buttons\Button.cs (1)
70LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (8)
356LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.FlatStyle); 424LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Image); 447LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign); 703LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.TextAlign); 732LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.TextImageRelation); 755LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Text); 1145using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) 1260using (LayoutTransaction.CreateTransactionIf(
System\Windows\Forms\Controls\Buttons\CheckBox.cs (3)
72using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Appearance)) 198LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.CheckAlign); 469LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, nameof(ThreeState));
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (1)
44LayoutTransaction.DoLayoutIf(
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
100using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Appearance))
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
555LayoutTransaction.DoLayout( 562LayoutTransaction.DoLayout(
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (2)
928LayoutTransaction.DoLayout( 935LayoutTransaction.DoLayout(
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (5)
1083using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle)) 1672using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ColumnHeadersVisible)) 3361using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.RowHeadersVisible)) 3409using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.RowHeadersWidth)) 3596using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ScrollBars))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
13351LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Columns); 14585LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Columns); 17636LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Rows); 26784using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ColumnHeadersHeight)) 29061LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Rows); 29111LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Rows); 29133LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Rows);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (3)
106LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.AutoSize); 222LayoutTransaction.DoLayout( 228LayoutTransaction.DoLayout(
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (2)
783LayoutTransaction.DoLayout( 789LayoutTransaction.DoLayout(
System\Windows\Forms\Controls\Labels\Label.cs (6)
153LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.AutoEllipsis); 220LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle); 345LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle); 558LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign); 785using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) 1211using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
205LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.LinkArea);
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (3)
163LayoutTransaction.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links); 307LayoutTransaction.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links); 345LayoutTransaction.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
415LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.DrawMode);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
422LayoutTransaction.DoLayoutIf(AutoSize, this, this, PropertyNames.Image);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
680using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ScrollBars)) 1377using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
388LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ScrollBars);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (7)
389using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle)) 758using (LayoutTransaction.CreateTransactionIf( 1444using (LayoutTransaction.CreateTransactionIf( 1761LayoutTransaction.DoLayout(parent, this, PropertyNames.SystemVisualSettings); 1913LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Font); 1922LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Bounds); 1988LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Padding);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (8)
819LayoutTransaction.DoLayout(this, this, PropertyNames.GripStyle); 937LayoutTransaction.DoLayoutIf((Items.Count > 0), this, this, PropertyNames.ImageScalingSize); 1248using (LayoutTransaction.CreateTransactionIf(IsHandleCreated, this, this, PropertyNames.LayoutStyle)) 1962LayoutTransaction.DoLayout(this, e.Item, PropertyNames.Items); 1976LayoutTransaction.DoLayout(OverflowButton.DropDown, e.Item, PropertyNames.Items); 2515using (LayoutTransaction.CreateTransactionIf(AutoSize, this, this, PropertyNames.Renderer)) 2532LayoutTransaction.DoLayout(this, this, null); 4546LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Orientation);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
113LayoutTransaction.DoLayout(this, this, PropertyNames.AutoSize); 1017LayoutTransaction.DoLayout(this, this, PropertyNames.PreferredSize); 1569LayoutTransaction.DoLayout(this, this, PropertyNames.Visible);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
449LayoutTransaction.DoLayout(DropDown, this, PropertyNames.RightToLeft);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
117LayoutTransaction.DoLayout(_owner.DropDown, _owner.DropDown, PropertyNames.Items);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
175LayoutTransaction.DoLayout(this, this, PropertyNames.ShowImageMargin); 192LayoutTransaction.DoLayout(this, this, PropertyNames.ShowCheckMargin);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (5)
617LayoutTransaction.DoLayout(this, ParentInternal, PropertyNames.Anchor); 645LayoutTransaction.DoLayout(this, ParentInternal, PropertyNames.Dock); 1505LayoutTransaction.DoLayout(Owner, Owner, "Overflow"); 2387LayoutTransaction.DoLayout(Owner, this, affectedProperty); 2639LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
321LayoutTransaction.DoLayout(_owner, value, PropertyNames.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (3)
401LayoutTransaction.DoLayout(ParentInternal, this, "ShortcutKeys"); 432LayoutTransaction.DoLayout(parent, this, "ShortcutKeyDisplayString"); 462LayoutTransaction.DoLayout(parent, this, "ShortcutKeys");
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (3)
131LayoutTransaction.DoLayout(this, this, "RowMargin"); 488LayoutTransaction.DoLayout(draggedControl.ToolStripPanelRow, e.AffectedComponent as IArrangedElement, e.AffectedProperty); 948LayoutTransaction.DoLayout(RowsInternal[i], this, PropertyNames.Rows);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
144LayoutTransaction.DoLayout(_owner, value, PropertyNames.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
56using LayoutTransaction lt = new(parent, this, null);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (2)
227using LayoutTransaction t = new(ToolStripPanel, control, PropertyNames.Parent); 237LayoutTransaction? layoutTransaction = null;
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (2)
119LayoutTransaction.DoLayout(Owner, this, PropertyNames.BorderStyle); 140LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Spring);
System\Windows\Forms\Form.cs (2)
506LayoutTransaction.DoLayout(this, this, PropertyNames.AutoSize); 557LayoutTransaction.DoLayout(toLayout, this, PropertyNames.AutoSize);
System\Windows\Forms\Layout\ArrangedElement.cs (1)
142LayoutTransaction.DoLayout(Parent, this, PropertyNames.Visible);
System\Windows\Forms\Layout\CommonProperties.cs (3)
192LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Margin); 212LayoutTransaction.DoLayout(element.Container, element, PropertyNames.MaximumSize); 658LayoutTransaction.DoLayout(element.Container, element, PropertyNames.FlowBreak);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
759LayoutTransaction.DoLayout(this, this, PropertyNames.Bounds);
System\Windows\Forms\Layout\DefaultLayout.cs (2)
930LayoutTransaction.DoLayout(element.Container.Container, element, PropertyNames.Anchor); 933LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Anchor);
System\Windows\Forms\Layout\FlowLayout.cs (2)
288LayoutTransaction.DoLayout(container, container, PropertyNames.WrapContents); 300LayoutTransaction.DoLayout(container, container, PropertyNames.FlowDirection);
System\Windows\Forms\Panels\Panel.cs (1)
85LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (7)
77LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.CellBorderStyle); 106LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.Columns); 132LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.Rows); 196LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.GrowStyle); 267LayoutTransaction.DoLayout(element.Container, element, PropertyNames.ColumnSpan); 305LayoutTransaction.DoLayout(element.Container, element, PropertyNames.RowSpan); 446LayoutTransaction.DoLayout(element.Container, element, PropertyNames.TableIndex);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyle.cs (2)
28LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.Style); 50LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.Style);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
160LayoutTransaction.DoLayout(Owner, Owner, PropertyName);
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
84LayoutTransaction.DoLayout(this, this, PropertyNames.AutoScroll); 294LayoutTransaction.DoLayout(this, this, PropertyNames.DisplayRectangle); 651LayoutTransaction.DoLayout(this, this, PropertyNames.RightToLeft); 695LayoutTransaction.DoLayout(this, this, PropertyNames.Visible);
System\Windows\Forms\UserControl.cs (1)
93LayoutTransaction.DoLayout(toLayout, this, PropertyNames.AutoSize);