39 instantiations of LayoutTransaction
System.Windows.Forms (39)
winforms\Managed\System\WinForms\ComboBox.cs (1)
2411
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Bounds))
winforms\Managed\System\WinForms\ContainerControl.cs (1)
1096
using (new
LayoutTransaction
(this, this, PropertyNames.Bounds, false)) {
winforms\Managed\System\WinForms\Control.cs (7)
2566
using(new
LayoutTransaction
(ParentInternal, this, PropertyNames.Font)) {
3776
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeft)) {
4778
using (new
LayoutTransaction
(ParentInternal, this, PropertyNames.Padding)) {
8234
using(new
LayoutTransaction
(this, this, PropertyNames.Font, false)) {
11312
using (new
LayoutTransaction
(this, this, PropertyNames.Bounds, false)) {
11352
using (new
LayoutTransaction
(this, this, PropertyNames.Bounds, false)) {
12171
using (new
LayoutTransaction
(parent, this, PropertyNames.Visible)) {
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
910
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout)) {
winforms\Managed\System\WinForms\Form.cs (1)
2241
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout)) {
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (1)
232
using (new
LayoutTransaction
(element.Container as Control, element, PropertyNames.MinimumSize)) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
677
using (new
LayoutTransaction
(element.Container as Control, element, PropertyNames.Dock)) {
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (1)
715
return new
LayoutTransaction
(controlToLayout, elementCausingLayout, property);
winforms\Managed\System\WinForms\ListView.cs (1)
1309
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout)) {
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
753
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout)) {
winforms\Managed\System\WinForms\ProgressBar.cs (1)
513
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout)) {
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1517
using (new System.Windows.Forms.Layout.
LayoutTransaction
(this, this, "SplitterDistance", false)) {
winforms\Managed\System\WinForms\TabControl.cs (1)
678
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout)) {
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
61
using (new
LayoutTransaction
(this, this, PropertyNames.LayoutSettings)) {
winforms\Managed\System\WinForms\ToolStrip.cs (8)
440
using (new
LayoutTransaction
(this, this, PropertyNames.Anchor)) {
767
using (new
LayoutTransaction
(this, this, PropertyNames.Dock))
768
using (new
LayoutTransaction
(this.ParentInternal, this, PropertyNames.Dock)) {
1891
using(new
LayoutTransaction
(this, this, "TextDirection")) {
2723
using (new
LayoutTransaction
(this, this, "ShowKeyboardFocusCues", /*PerformLayout=*/Visible)) {
3783
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeft)) {
4643
using (new
LayoutTransaction
(this, this, PropertyNames.Orientation)) {
4665
using (new
LayoutTransaction
(this, this, PropertyNames.Orientation)) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
818
using (new
LayoutTransaction
(this,this,PropertyNames.RightToLeft)) {
1467
using (new
LayoutTransaction
(this, OwnerItem, PropertyNames.Font)) {
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (2)
147
using (new
LayoutTransaction
(this.owner, this.owner, PropertyNames.Items)) {
168
using (new
LayoutTransaction
(this.owner, this.owner, PropertyNames.Items)) {
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
1178
using (new
LayoutTransaction
(panel, panel, null)) {
1547
using (new
LayoutTransaction
(value, value, PropertyNames.Parent)) {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (3)
78
using (LayoutTransaction lt = new
LayoutTransaction
(parent, this, null)) {
2205
using (LayoutTransaction t = new
LayoutTransaction
(ToolStripPanel, control, PropertyNames.Parent)) {
2216
layoutTransaction = new
LayoutTransaction
(ToolStripPanel, ToolStripPanel.ParentInternal, PropertyNames.Parent);
winforms\Managed\System\WinForms\TrackBar.cs (1)
546
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout)) {
winforms\Managed\System\WinForms\TreeView.cs (1)
1003
using(new
LayoutTransaction
(this, this, PropertyNames.RightToLeftLayout)) {
118 references to LayoutTransaction
System.Windows.Forms (118)
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
129
LayoutTransaction
.DoLayout(this.Parent, this, PropertyNames.Visible);
winforms\Managed\System\WinForms\Button.cs (1)
98
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
winforms\Managed\System\WinForms\ButtonBase.cs (7)
288
LayoutTransaction
.DoLayoutIf(AutoSize,ParentInternal, this, PropertyNames.FlatStyle);
358
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Image);
387
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign);
668
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.TextAlign);
694
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.TextImageRelation);
716
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Text);
1056
using(
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) {
winforms\Managed\System\WinForms\CheckBox.cs (2)
122
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, this.ParentInternal, this, PropertyNames.Appearance)) {
198
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.CheckAlign);
winforms\Managed\System\WinForms\ContainerControl.cs (1)
797
LayoutTransaction
.DoLayout(this, this, PropertyNames.Bounds);
winforms\Managed\System\WinForms\Control.cs (15)
962
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
4336
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.UseCompatibleTextRendering);
4786
LayoutTransaction
.DoLayout(this, this, PropertyNames.Padding);
5839
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
8246
LayoutTransaction
.DoLayout(this,this,PropertyNames.Font);
9464
LayoutTransaction
.DoLayout(this, this, PropertyNames.Bounds);
9985
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.PreferredSize);
11328
LayoutTransaction
.DoLayout(this, this, PropertyNames.Bounds);
11356
LayoutTransaction
.DoLayout(this, this, PropertyNames.Bounds);
11810
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
11834
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
12598
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Bounds);
14824
LayoutTransaction
.DoLayout(owner, value, PropertyNames.Parent);
15044
LayoutTransaction
.DoLayout(owner, value, PropertyNames.Parent);
15200
LayoutTransaction
.DoLayout(owner, child, PropertyNames.ChildIndex);
winforms\Managed\System\WinForms\DataGridView.cs (5)
1420
using (
LayoutTransaction
.CreateTransactionIf(this.AutoSize, this.ParentInternal, this, PropertyNames.BorderStyle))
2137
using (
LayoutTransaction
.CreateTransactionIf(this.AutoSize, this.ParentInternal, this, PropertyNames.ColumnHeadersVisible))
4276
using (
LayoutTransaction
.CreateTransactionIf(this.AutoSize, this.ParentInternal, this, PropertyNames.RowHeadersVisible))
4330
using (
LayoutTransaction
.CreateTransactionIf(this.AutoSize, this.ParentInternal, this, PropertyNames.RowHeadersWidth))
4576
using (
LayoutTransaction
.CreateTransactionIf(this.AutoSize, this.ParentInternal, this, PropertyNames.ScrollBars))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (7)
13752
LayoutTransaction
.DoLayout(this.ParentInternal, this, PropertyNames.Columns);
14987
LayoutTransaction
.DoLayout(this.ParentInternal, this, PropertyNames.Columns);
18003
LayoutTransaction
.DoLayout(this.ParentInternal, this, PropertyNames.Rows);
26801
using (
LayoutTransaction
.CreateTransactionIf(this.AutoSize, this.ParentInternal, this, PropertyNames.ColumnHeadersHeight))
29051
LayoutTransaction
.DoLayout(this.ParentInternal, this, PropertyNames.Rows);
29095
LayoutTransaction
.DoLayout(this.ParentInternal, this, PropertyNames.Rows);
29112
LayoutTransaction
.DoLayout(this.ParentInternal, this, PropertyNames.Rows);
winforms\Managed\System\WinForms\FlatButtonAppearance.cs (1)
56
LayoutTransaction
.DoLayoutIf(owner.AutoSize, owner.ParentInternal, owner, PropertyNames.FlatAppearanceBorderSize);
winforms\Managed\System\WinForms\Form.cs (2)
667
LayoutTransaction
.DoLayout(this, this, PropertyNames.AutoSize);
722
LayoutTransaction
.DoLayout(toLayout, this, PropertyNames.AutoSize);
winforms\Managed\System\WinForms\GroupBox.cs (1)
144
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
winforms\Managed\System\WinForms\Label.cs (6)
197
LayoutTransaction
.DoLayoutIf(AutoSize,ParentInternal, this, PropertyNames.AutoEllipsis);
294
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle);
431
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle);
665
LayoutTransaction
.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign);
999
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) {
1481
using(
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) {
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (3)
198
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.Margin);
219
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.MaximumSize);
615
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.FlowBreak);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (2)
652
LayoutTransaction
.DoLayout(element.Container.Container, element, PropertyNames.Anchor);
654
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.Anchor);
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
283
LayoutTransaction
.DoLayout(container, container, PropertyNames.WrapContents);
297
LayoutTransaction
.DoLayout(container, container, PropertyNames.FlowDirection);
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (1)
749
LayoutTransaction
.DoLayout(elementToLayout, elementCausingLayout, property);
winforms\Managed\System\WinForms\LinkLabel.cs (4)
264
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.LinkArea);
2156
LayoutTransaction
.DoLayout(this.owner.ParentInternal, this.owner, PropertyNames.Links);
2296
LayoutTransaction
.DoLayout(this.owner.ParentInternal, this.owner, PropertyNames.Links);
2338
LayoutTransaction
.DoLayout(this.owner.ParentInternal, this.owner, PropertyNames.Links);
winforms\Managed\System\WinForms\ListBox.cs (1)
451
LayoutTransaction
.DoLayoutIf(AutoSize, this.ParentInternal, this, PropertyNames.DrawMode);
winforms\Managed\System\WinForms\Panel.cs (1)
115
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
winforms\Managed\System\WinForms\PictureBox.cs (1)
525
LayoutTransaction
.DoLayoutIf(AutoSize, this, this, PropertyNames.Image);
winforms\Managed\System\WinForms\RadioButton.cs (1)
135
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, this.ParentInternal, this, PropertyNames.Appearance)) {
winforms\Managed\System\WinForms\RichTextBox.cs (2)
805
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ScrollBars)) {
1471
using(
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) {
winforms\Managed\System\WinForms\ScrollableControl.cs (4)
143
LayoutTransaction
.DoLayout(this, this, PropertyNames.AutoScroll);
415
LayoutTransaction
.DoLayout(this, this, PropertyNames.DisplayRectangle);
754
LayoutTransaction
.DoLayout(this, this, PropertyNames.RightToLeft);
789
LayoutTransaction
.DoLayout(this, this, PropertyNames.Visible);
winforms\Managed\System\WinForms\TableLayoutSettings.cs (7)
88
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.CellBorderStyle);
118
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.Columns);
144
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.Rows);
205
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.GrowStyle);
261
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.ColumnSpan);
296
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.RowSpan);
413
LayoutTransaction
.DoLayout(element.Container, element, PropertyNames.TableIndex);
winforms\Managed\System\WinForms\TableLayoutStyle.cs (2)
34
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.Style);
53
LayoutTransaction
.DoLayout(Owner, Owner, PropertyNames.Style);
winforms\Managed\System\WinForms\TableLayoutStyleCollection.cs (1)
136
LayoutTransaction
.DoLayout(this.Owner, this.Owner, PropertyName);
winforms\Managed\System\WinForms\TextBoxBase.cs (3)
408
using(
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle)) {
845
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Multiline)) {
1353
using (
LayoutTransaction
.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.WordWrap)) {
winforms\Managed\System\WinForms\ToolStrip.cs (8)
948
LayoutTransaction
.DoLayout(this, this, PropertyNames.GripStyle);
1066
LayoutTransaction
.DoLayoutIf((Items.Count > 0), this, this, PropertyNames.ImageScalingSize);
1395
using (
LayoutTransaction
.CreateTransactionIf(IsHandleCreated, this, this, PropertyNames.LayoutStyle)) {
2161
LayoutTransaction
.DoLayout(this, e.Item, PropertyNames.Items);
2172
LayoutTransaction
.DoLayout(this.OverflowButton.DropDown, e.Item, PropertyNames.Items);
2706
using(
LayoutTransaction
.CreateTransactionIf(AutoSize, this, this, PropertyNames.Renderer)) {
2719
LayoutTransaction
.DoLayout(this, this, null);
4658
LayoutTransaction
.DoLayout(this.ParentInternal, this, PropertyNames.Orientation);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
195
LayoutTransaction
.DoLayout(this,this,PropertyNames.AutoSize);
1245
LayoutTransaction
.DoLayout(this, this, PropertyNames.PreferredSize);
1800
LayoutTransaction
.DoLayout(this, this, PropertyNames.Visible);
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (2)
450
LayoutTransaction
.DoLayout(DropDown, this, PropertyNames.RightToLeft);
873
LayoutTransaction
.DoLayout(owner.DropDown, owner.DropDown, PropertyNames.Items);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
228
LayoutTransaction
.DoLayout(this, this, PropertyNames.ShowImageMargin);
246
LayoutTransaction
.DoLayout(this, this, PropertyNames.ShowCheckMargin);
winforms\Managed\System\WinForms\ToolStripItem.cs (5)
661
LayoutTransaction
.DoLayout(this, ParentInternal, PropertyNames.Anchor);
688
LayoutTransaction
.DoLayout(this, ParentInternal, PropertyNames.Dock);
1855
LayoutTransaction
.DoLayout(Owner, this.Owner, "Overflow");
2761
LayoutTransaction
.DoLayout(Owner, this, affectedProperty);
3007
LayoutTransaction
.DoLayout(this.ParentInternal, this, PropertyNames.Bounds);
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
365
LayoutTransaction
.DoLayout(owner, value, PropertyNames.Parent);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
506
LayoutTransaction
.DoLayout(this.ParentInternal, this, "ShortcutKeys");
532
LayoutTransaction
.DoLayout(parent, this, "ShortcutKeyDisplayString");
564
LayoutTransaction
.DoLayout(parent, this, "ShortcutKeys");
winforms\Managed\System\WinForms\ToolStripPanel.cs (4)
184
LayoutTransaction
.DoLayout(this, this, "RowMargin");
557
LayoutTransaction
.DoLayout(draggedControl.ToolStripPanelRow, e.AffectedComponent as IArrangedElement, e.AffectedProperty);
1134
LayoutTransaction
.DoLayout(RowsInternal[i], this, PropertyNames.Rows);
1479
LayoutTransaction
.DoLayout(owner, value, PropertyNames.Parent);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (3)
78
using (
LayoutTransaction
lt = new LayoutTransaction(parent, this, null)) {
2205
using (
LayoutTransaction
t = new LayoutTransaction(ToolStripPanel, control, PropertyNames.Parent)) {
2214
LayoutTransaction
layoutTransaction = null;
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (2)
147
LayoutTransaction
.DoLayout(Owner,this, PropertyNames.BorderStyle);
180
LayoutTransaction
.DoLayout(ParentInternal, this, PropertyNames.Spring);
winforms\Managed\System\WinForms\UserControl.cs (1)
116
LayoutTransaction
.DoLayout(toLayout, this, PropertyNames.AutoSize);