172 references to PropertyNames
System.Windows.Forms (172)
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 (22)
627
LayoutTransaction.DoLayout(parent, this,
PropertyNames
.AutoSize);
1854
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Font))
2879
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeft))
3398
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.UseCompatibleTextRendering);
3758
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Padding))
3768
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Padding);
4530
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
6790
using (new LayoutTransaction(this, this,
PropertyNames
.Font, resumeLayout: false))
6800
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Font);
7931
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
8373
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.PreferredSize);
9494
using (new LayoutTransaction(this, this,
PropertyNames
.Bounds, resumeLayout: false))
9506
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
9533
using (new LayoutTransaction(this, this,
PropertyNames
.Bounds, false))
9544
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
9957
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
10006
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
10346
using (new LayoutTransaction(_parent, this,
PropertyNames
.Visible))
10687
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Font))
10787
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
12603
sizeProperty = TypeDescriptor.GetProperties(this)[
PropertyNames
.Size];
12604
locationProperty = TypeDescriptor.GetProperties(this)[
PropertyNames
.Location];
System\Windows\Forms\Controls\Buttons\Button.cs (1)
70
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.AutoSize);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (7)
354
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.FlatStyle);
415
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.Image);
438
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.ImageAlign);
687
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.TextAlign);
716
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.TextImageRelation);
739
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.Text);
1102
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Text))
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
73
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Appearance))
128
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.CheckAlign);
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (1)
49
PropertyNames
.FlatAppearanceBorderSize);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
89
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Appearance))
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2254
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Bounds))
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (5)
1082
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.BorderStyle))
1661
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.ColumnHeadersVisible))
3349
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.RowHeadersVisible))
3397
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.RowHeadersWidth))
3584
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.ScrollBars))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
13284
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Columns);
14518
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Columns);
17561
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Rows);
26704
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.ColumnHeadersHeight))
28980
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Rows);
29030
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Rows);
29052
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Rows);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
774
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
106
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.AutoSize);
System\Windows\Forms\Controls\Labels\Label.cs (6)
157
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.AutoEllipsis);
224
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.BorderStyle);
347
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.BorderStyle);
560
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.ImageAlign);
787
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Text))
1213
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)
417
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.DrawMode);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1338
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
592
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
425
LayoutTransaction.DoLayoutIf(AutoSize, this, this,
PropertyNames
.Image);
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
392
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
645
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.ScrollBars))
1346
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Text))
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
626
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (3)
365
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.BorderStyle))
726
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Multiline))
1162
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.WordWrap))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (13)
354
using (new LayoutTransaction(this, this,
PropertyNames
.Anchor))
650
using (new LayoutTransaction(this, this,
PropertyNames
.Dock))
651
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Dock))
817
LayoutTransaction.DoLayout(this, this,
PropertyNames
.GripStyle);
935
LayoutTransaction.DoLayoutIf((Items.Count > 0), this, this,
PropertyNames
.ImageScalingSize);
1252
using (LayoutTransaction.CreateTransactionIf(IsHandleCreated, this, this,
PropertyNames
.LayoutStyle))
1966
LayoutTransaction.DoLayout(this, e.Item,
PropertyNames
.Items);
1980
LayoutTransaction.DoLayout(OverflowButton.DropDown, e.Item,
PropertyNames
.Items);
2519
using (LayoutTransaction.CreateTransactionIf(AutoSize, this, this,
PropertyNames
.Renderer))
3614
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeft))
4523
using (new LayoutTransaction(this, this,
PropertyNames
.Orientation))
4540
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Orientation);
4549
using (new LayoutTransaction(this, this,
PropertyNames
.Orientation))
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (5)
113
LayoutTransaction.DoLayout(this, this,
PropertyNames
.AutoSize);
621
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeft))
1023
LayoutTransaction.DoLayout(this, this,
PropertyNames
.PreferredSize);
1236
using (new LayoutTransaction(this, OwnerItem,
PropertyNames
.Font))
1575
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Visible);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
98
InvalidateItemLayout(
PropertyNames
.ShowDropDownArrow);
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 (17)
341
InvalidateItemLayout(
PropertyNames
.AutoSize);
612
LayoutTransaction.DoLayout(this, ParentInternal,
PropertyNames
.Anchor);
640
LayoutTransaction.DoLayout(this, ParentInternal,
PropertyNames
.Dock);
710
InvalidateItemLayout(
PropertyNames
.DisplayStyle);
1010
InvalidateItemLayout(
PropertyNames
.ImageAlign);
1071
InvalidateItemLayout(
PropertyNames
.Image);
1135
InvalidateItemLayout(
PropertyNames
.ImageIndex);
1163
InvalidateItemLayout(
PropertyNames
.ImageKey);
1181
InvalidateItemLayout(
PropertyNames
.ImageScaling);
1519
InvalidateItemLayout(
PropertyNames
.Padding);
1893
InvalidateItemLayout(
PropertyNames
.TextAlign);
1951
InvalidateItemLayout(
PropertyNames
.TextImageRelation);
2403
InvalidateItemLayout(
PropertyNames
.Image);
2640
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
2823
InvalidateItemLayout(
PropertyNames
.Font);
2991
InvalidateItemLayout(
PropertyNames
.RightToLeft);
3000
InvalidateItemLayout(
PropertyNames
.Text);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (3)
126
using (new LayoutTransaction(_owner, _owner!,
PropertyNames
.Items))
146
using (new LayoutTransaction(_owner, _owner!,
PropertyNames
.Items))
314
LayoutTransaction.DoLayout(_owner, value,
PropertyNames
.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
663
OnLayout(new LayoutEventArgs(this,
PropertyNames
.Rows));
956
LayoutTransaction.DoLayout(RowsInternal[i], this,
PropertyNames
.Rows);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelControlCollection.cs (1)
24
using (new LayoutTransaction(value, value,
PropertyNames
.Parent))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
144
LayoutTransaction.DoLayout(_owner, value,
PropertyNames
.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
311
((IArrangedElement)this).PerformLayout(this,
PropertyNames
.Size);
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\ToolStrips\ToolStripSplitButton.cs (1)
199
InvalidateItemLayout(
PropertyNames
.DropDownButtonWidth);
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\Controls\TrackBar\TrackBar.cs (1)
465
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
970
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Form.cs (3)
507
LayoutTransaction.DoLayout(this, this,
PropertyNames
.AutoSize);
558
LayoutTransaction.DoLayout(toLayout, this,
PropertyNames
.AutoSize);
1704
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Layout\ArrangedElement.cs (2)
142
LayoutTransaction.DoLayout(Parent, this,
PropertyNames
.Visible);
171
((IArrangedElement)this).PerformLayout(this,
PropertyNames
.Size);
System\Windows\Forms\Layout\CommonProperties.cs (4)
197
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.Margin);
217
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.MaximumSize);
232
using (new LayoutTransaction(element.Container as Control, element,
PropertyNames
.MinimumSize))
663
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.FlowBreak);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (4)
766
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
1100
using (new LayoutTransaction(this, this,
PropertyNames
.Bounds, false))
1368
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Font))
1408
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Font))
System\Windows\Forms\Layout\DefaultLayout.cs (3)
923
LayoutTransaction.DoLayout(element.Container.Container, element,
PropertyNames
.Anchor);
926
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.Anchor);
944
using (new LayoutTransaction(element.Container as Control, element,
PropertyNames
.Dock))
System\Windows\Forms\Layout\FlowLayout.cs (2)
287
LayoutTransaction.DoLayout(container, container,
PropertyNames
.WrapContents);
299
LayoutTransaction.DoLayout(container, container,
PropertyNames
.FlowDirection);
System\Windows\Forms\Layout\TableLayout.cs (8)
47
PropertyNames
.ChildIndex, // Changing Z-order changes the row/column assignments
48
PropertyNames
.Parent, // So does adding/removing controls
49
PropertyNames
.Visible, // as well as visibility
50
PropertyNames
.Items, // Changing toolstrip items collection
51
PropertyNames
.Rows,
52
PropertyNames
.Columns,
53
PropertyNames
.RowStyles,
54
PropertyNames
.ColumnStyles,
System\Windows\Forms\Panels\Panel.cs (1)
89
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.AutoSize);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutColumnStyleCollection.cs (1)
16
get =>
PropertyNames
.ColumnStyles;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
47
using (new LayoutTransaction(this, this,
PropertyNames
.LayoutSettings))
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutRowStyleCollection.cs (1)
16
get { return
PropertyNames
.RowStyles; }
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\Scrolling\ScrollableControl.cs (4)
88
LayoutTransaction.DoLayout(this, this,
PropertyNames
.AutoScroll);
302
LayoutTransaction.DoLayout(this, this,
PropertyNames
.DisplayRectangle);
659
LayoutTransaction.DoLayout(this, this,
PropertyNames
.RightToLeft);
703
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Visible);
System\Windows\Forms\UserControl.cs (1)
93
LayoutTransaction.DoLayout(toLayout, this,
PropertyNames
.AutoSize);