188 references to PropertyNames
System.Windows.Forms (188)
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 (24)
732
LayoutTransaction.DoLayout(parent, this,
PropertyNames
.AutoSize);
2130
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Font))
3155
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeft))
3674
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.UseCompatibleTextRendering);
4047
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Padding))
4057
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Padding);
4842
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
7298
using (new LayoutTransaction(this, this,
PropertyNames
.Font, resumeLayout: false))
7308
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Font);
7628
LayoutTransaction.DoLayout(request.Target, request.Cause,
PropertyNames
.VisualStylesMode);
7692
Transaction = new LayoutTransaction(target, cause,
PropertyNames
.VisualStylesMode, resumeLayout: false);
8719
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
9273
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.PreferredSize);
10414
using (new LayoutTransaction(this, this,
PropertyNames
.Bounds, resumeLayout: false))
10426
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
10453
using (new LayoutTransaction(this, this,
PropertyNames
.Bounds, false))
10464
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
10866
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
10915
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
11269
using (new LayoutTransaction(_parent, this,
PropertyNames
.Visible))
11610
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Font))
11710
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
13534
sizeProperty = TypeDescriptor.GetProperties(this)[
PropertyNames
.Size];
13535
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 (8)
356
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.FlatStyle);
424
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.Image);
447
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.ImageAlign);
703
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.TextAlign);
732
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.TextImageRelation);
755
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.Text);
1145
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Text))
1264
PropertyNames
.VisualStylesMode))
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
72
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Appearance))
198
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.CheckAlign);
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (1)
48
PropertyNames
.FlatAppearanceBorderSize);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
100
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Appearance))
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
558
PropertyNames
.FlatStyle);
565
PropertyNames
.FlatStyle);
2342
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Bounds))
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (2)
931
PropertyNames
.SystemVisualSettings);
938
PropertyNames
.SystemVisualSettings);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (5)
1083
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.BorderStyle))
1672
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.ColumnHeadersVisible))
3361
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.RowHeadersVisible))
3409
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.RowHeadersWidth))
3596
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.ScrollBars))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
13351
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Columns);
14585
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Columns);
17636
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Rows);
26784
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.ColumnHeadersHeight))
29061
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Rows);
29111
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Rows);
29133
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Rows);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
772
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (3)
106
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.AutoSize);
225
PropertyNames
.FlatStyle);
231
PropertyNames
.FlatStyle);
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (2)
786
PropertyNames
.SystemVisualSettings);
792
PropertyNames
.SystemVisualSettings);
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)
205
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\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\PictureBox\PictureBox.cs (1)
422
LayoutTransaction.DoLayoutIf(AutoSize, this, this,
PropertyNames
.Image);
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
399
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
680
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.ScrollBars))
1377
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.Text))
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
629
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
388
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.ScrollBars);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (7)
389
using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this,
PropertyNames
.BorderStyle))
762
property:
PropertyNames
.Multiline))
1448
property:
PropertyNames
.WordWrap))
1761
LayoutTransaction.DoLayout(parent, this,
PropertyNames
.SystemVisualSettings);
1913
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.Font);
1922
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.Bounds);
1988
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.Padding);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (13)
357
using (new LayoutTransaction(this, this,
PropertyNames
.Anchor))
652
using (new LayoutTransaction(this, this,
PropertyNames
.Dock))
653
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Dock))
819
LayoutTransaction.DoLayout(this, this,
PropertyNames
.GripStyle);
937
LayoutTransaction.DoLayoutIf((Items.Count > 0), this, this,
PropertyNames
.ImageScalingSize);
1248
using (LayoutTransaction.CreateTransactionIf(IsHandleCreated, this, this,
PropertyNames
.LayoutStyle))
1962
LayoutTransaction.DoLayout(this, e.Item,
PropertyNames
.Items);
1976
LayoutTransaction.DoLayout(OverflowButton.DropDown, e.Item,
PropertyNames
.Items);
2515
using (LayoutTransaction.CreateTransactionIf(AutoSize, this, this,
PropertyNames
.Renderer))
3612
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeft))
4529
using (new LayoutTransaction(this, this,
PropertyNames
.Orientation))
4546
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Orientation);
4555
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))
1017
LayoutTransaction.DoLayout(this, this,
PropertyNames
.PreferredSize);
1230
using (new LayoutTransaction(this, OwnerItem,
PropertyNames
.Font))
1569
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)
449
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);
617
LayoutTransaction.DoLayout(this, ParentInternal,
PropertyNames
.Anchor);
645
LayoutTransaction.DoLayout(this, ParentInternal,
PropertyNames
.Dock);
715
InvalidateItemLayout(
PropertyNames
.DisplayStyle);
1015
InvalidateItemLayout(
PropertyNames
.ImageAlign);
1076
InvalidateItemLayout(
PropertyNames
.Image);
1140
InvalidateItemLayout(
PropertyNames
.ImageIndex);
1168
InvalidateItemLayout(
PropertyNames
.ImageKey);
1186
InvalidateItemLayout(
PropertyNames
.ImageScaling);
1524
InvalidateItemLayout(
PropertyNames
.Padding);
1890
InvalidateItemLayout(
PropertyNames
.TextAlign);
1948
InvalidateItemLayout(
PropertyNames
.TextImageRelation);
2402
InvalidateItemLayout(
PropertyNames
.Image);
2639
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
2822
InvalidateItemLayout(
PropertyNames
.Font);
2990
InvalidateItemLayout(
PropertyNames
.RightToLeft);
2999
InvalidateItemLayout(
PropertyNames
.Text);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (3)
126
using (new LayoutTransaction(_owner, _owner!,
PropertyNames
.Items))
152
using (new LayoutTransaction(_owner, _owner!,
PropertyNames
.Items))
321
LayoutTransaction.DoLayout(_owner, value,
PropertyNames
.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
655
OnLayout(new LayoutEventArgs(this,
PropertyNames
.Rows));
948
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)
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 (3)
506
LayoutTransaction.DoLayout(this, this,
PropertyNames
.AutoSize);
557
LayoutTransaction.DoLayout(toLayout, this,
PropertyNames
.AutoSize);
1700
using (new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout))
System\Windows\Forms\Layout\ArrangedElement.cs (2)
142
LayoutTransaction.DoLayout(Parent, this,
PropertyNames
.Visible);
168
((IArrangedElement)this).PerformLayout(this,
PropertyNames
.Size);
System\Windows\Forms\Layout\CommonProperties.cs (4)
192
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.Margin);
212
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.MaximumSize);
227
using (new LayoutTransaction(element.Container as Control, element,
PropertyNames
.MinimumSize))
658
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.FlowBreak);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (4)
759
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
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\DefaultLayout.cs (3)
930
LayoutTransaction.DoLayout(element.Container.Container, element,
PropertyNames
.Anchor);
933
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.Anchor);
951
using (new LayoutTransaction(element.Container as Control, element,
PropertyNames
.Dock))
System\Windows\Forms\Layout\FlowLayout.cs (2)
288
LayoutTransaction.DoLayout(container, container,
PropertyNames
.WrapContents);
300
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)
85
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)
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);