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