169 references to PropertyNames
System.Windows.Forms (169)
winforms\Managed\System\WinForms\ArrangedElement.cs (2)
129
LayoutTransaction.DoLayout(this.Parent, this,
PropertyNames
.Visible);
156
((IArrangedElement)this).PerformLayout((IArrangedElement)this,
PropertyNames
.Size);
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\ComboBox.cs (1)
2411
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Bounds))
winforms\Managed\System\WinForms\ContainerControl.cs (2)
797
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
1096
using (new LayoutTransaction(this, this,
PropertyNames
.Bounds, false)) {
winforms\Managed\System\WinForms\Control.cs (24)
962
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.AutoSize);
2566
using(new LayoutTransaction(ParentInternal, this,
PropertyNames
.Font)) {
3776
using(new LayoutTransaction(this, this,
PropertyNames
.RightToLeft)) {
4336
LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this,
PropertyNames
.UseCompatibleTextRendering);
4778
using (new LayoutTransaction(ParentInternal, this,
PropertyNames
.Padding)) {
4786
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Padding);
5839
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
8234
using(new LayoutTransaction(this, this,
PropertyNames
.Font, false)) {
8246
LayoutTransaction.DoLayout(this,this,
PropertyNames
.Font);
9464
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
9985
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.PreferredSize);
11312
using (new LayoutTransaction(this, this,
PropertyNames
.Bounds, false)) {
11328
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
11352
using (new LayoutTransaction(this, this,
PropertyNames
.Bounds, false)) {
11356
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Bounds);
11810
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
11834
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
12171
using (new LayoutTransaction(parent, this,
PropertyNames
.Visible)) {
12598
LayoutTransaction.DoLayout(ParentInternal, this,
PropertyNames
.Bounds);
14508
sizeProperty = TypeDescriptor.GetProperties(this)[
PropertyNames
.Size];
14509
locationProperty = TypeDescriptor.GetProperties(this)[
PropertyNames
.Location];
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\DateTimePicker.cs (1)
910
using(new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout)) {
winforms\Managed\System\WinForms\FlatButtonAppearance.cs (1)
56
LayoutTransaction.DoLayoutIf(owner.AutoSize, owner.ParentInternal, owner,
PropertyNames
.FlatAppearanceBorderSize);
winforms\Managed\System\WinForms\Form.cs (3)
667
LayoutTransaction.DoLayout(this, this,
PropertyNames
.AutoSize);
722
LayoutTransaction.DoLayout(toLayout, this,
PropertyNames
.AutoSize);
2241
using(new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout)) {
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 (4)
198
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.Margin);
219
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.MaximumSize);
232
using (new LayoutTransaction(element.Container as Control, element,
PropertyNames
.MinimumSize)) {
615
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.FlowBreak);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (3)
652
LayoutTransaction.DoLayout(element.Container.Container, element,
PropertyNames
.Anchor);
654
LayoutTransaction.DoLayout(element.Container, element,
PropertyNames
.Anchor);
677
using (new LayoutTransaction(element.Container as Control, element,
PropertyNames
.Dock)) {
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\TableLayout.cs (8)
138
PropertyNames
.ChildIndex, // Changing Z-order changes the row/column assignments
139
PropertyNames
.Parent, // So does adding/removing controls
140
PropertyNames
.Visible, // as well as visibility
141
PropertyNames
.Items, // VSWhidbey 396702: Changing toolstrip items collection
142
PropertyNames
.Rows,
143
PropertyNames
.Columns,
144
PropertyNames
.RowStyles,
145
PropertyNames
.ColumnStyles,
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\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\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\ProgressBar.cs (1)
513
using(new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout)) {
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\TabControl.cs (1)
678
using(new LayoutTransaction(this, this,
PropertyNames
.RightToLeftLayout)) {
winforms\Managed\System\WinForms\TableLayoutColumnStyleCollection.cs (1)
26
get { return
PropertyNames
.ColumnStyles; }
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
61
using (new LayoutTransaction(this, this,
PropertyNames
.LayoutSettings)) {
winforms\Managed\System\WinForms\TableLayoutRowStyleCollection.cs (1)
26
get { return
PropertyNames
.RowStyles; }
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\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 (13)
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)) {
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)) {
3783
using(new LayoutTransaction(this, this,
PropertyNames
.RightToLeft)) {
4643
using (new LayoutTransaction(this, this,
PropertyNames
.Orientation)) {
4658
LayoutTransaction.DoLayout(this.ParentInternal, this,
PropertyNames
.Orientation);
4665
using (new LayoutTransaction(this, this,
PropertyNames
.Orientation)) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (5)
195
LayoutTransaction.DoLayout(this,this,
PropertyNames
.AutoSize);
818
using (new LayoutTransaction(this,this,
PropertyNames
.RightToLeft)) {
1245
LayoutTransaction.DoLayout(this, this,
PropertyNames
.PreferredSize);
1467
using (new LayoutTransaction(this, OwnerItem,
PropertyNames
.Font)) {
1800
LayoutTransaction.DoLayout(this, this,
PropertyNames
.Visible);
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
96
this.InvalidateItemLayout(
PropertyNames
.ShowDropDownArrow);
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 (17)
408
InvalidateItemLayout(
PropertyNames
.AutoSize);
661
LayoutTransaction.DoLayout(this, ParentInternal,
PropertyNames
.Anchor);
688
LayoutTransaction.DoLayout(this, ParentInternal,
PropertyNames
.Dock);
776
InvalidateItemLayout(
PropertyNames
.DisplayStyle);
1223
InvalidateItemLayout(
PropertyNames
.ImageAlign);
1275
InvalidateItemLayout(
PropertyNames
.Image);
1340
InvalidateItemLayout(
PropertyNames
.ImageIndex);
1377
InvalidateItemLayout(
PropertyNames
.ImageKey);
1402
InvalidateItemLayout(
PropertyNames
.ImageScaling);
1874
InvalidateItemLayout(
PropertyNames
.Padding);
2303
InvalidateItemLayout(
PropertyNames
.TextAlign);
2371
InvalidateItemLayout(
PropertyNames
.TextImageRelation);
2776
InvalidateItemLayout(
PropertyNames
.Image);
3007
LayoutTransaction.DoLayout(this.ParentInternal, this,
PropertyNames
.Bounds);
3199
this.InvalidateItemLayout(
PropertyNames
.Font);
3370
InvalidateItemLayout(
PropertyNames
.RightToLeft);
3387
InvalidateItemLayout(
PropertyNames
.Text);
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (3)
147
using (new LayoutTransaction(this.owner, this.owner,
PropertyNames
.Items)) {
168
using (new LayoutTransaction(this.owner, this.owner,
PropertyNames
.Items)) {
365
LayoutTransaction.DoLayout(owner, value,
PropertyNames
.Parent);
winforms\Managed\System\WinForms\ToolStripPanel.cs (4)
698
OnLayout(new LayoutEventArgs(this,
PropertyNames
.Rows));
1134
LayoutTransaction.DoLayout(RowsInternal[i], this,
PropertyNames
.Rows);
1479
LayoutTransaction.DoLayout(owner, value,
PropertyNames
.Parent);
1547
using (new LayoutTransaction(value, value,
PropertyNames
.Parent)) {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (3)
316
((IArrangedElement)this).PerformLayout((IArrangedElement)this,
PropertyNames
.Size);
2205
using (LayoutTransaction t = new LayoutTransaction(ToolStripPanel, control,
PropertyNames
.Parent)) {
2216
layoutTransaction = new LayoutTransaction(ToolStripPanel, ToolStripPanel.ParentInternal,
PropertyNames
.Parent);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
268
InvalidateItemLayout(
PropertyNames
.DropDownButtonWidth, true);
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\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)) {
winforms\Managed\System\WinForms\UserControl.cs (1)
116
LayoutTransaction.DoLayout(toLayout, this,
PropertyNames
.AutoSize);