172 references to PropertyNames
System.Windows.Forms (172)
System\Windows\Forms\Control.ControlCollection.cs (3)
121LayoutTransaction.DoLayout(Owner, value, PropertyNames.Parent); 301LayoutTransaction.DoLayout(Owner, value, PropertyNames.Parent); 438LayoutTransaction.DoLayout(Owner, child, PropertyNames.ChildIndex);
System\Windows\Forms\Control.cs (22)
627LayoutTransaction.DoLayout(parent, this, PropertyNames.AutoSize); 1854using (new LayoutTransaction(ParentInternal, this, PropertyNames.Font)) 2879using (new LayoutTransaction(this, this, PropertyNames.RightToLeft)) 3398LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.UseCompatibleTextRendering); 3758using (new LayoutTransaction(ParentInternal, this, PropertyNames.Padding)) 3768LayoutTransaction.DoLayout(this, this, PropertyNames.Padding); 4530LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds); 6785using (new LayoutTransaction(this, this, PropertyNames.Font, resumeLayout: false)) 6795LayoutTransaction.DoLayout(this, this, PropertyNames.Font); 7926LayoutTransaction.DoLayout(this, this, PropertyNames.Bounds); 8368LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.PreferredSize); 9489using (new LayoutTransaction(this, this, PropertyNames.Bounds, resumeLayout: false)) 9501LayoutTransaction.DoLayout(this, this, PropertyNames.Bounds); 9528using (new LayoutTransaction(this, this, PropertyNames.Bounds, false)) 9539LayoutTransaction.DoLayout(this, this, PropertyNames.Bounds); 9952LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds); 10001LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds); 10341using (new LayoutTransaction(_parent, this, PropertyNames.Visible)) 10682using (new LayoutTransaction(ParentInternal, this, PropertyNames.Font)) 10782LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds); 12598sizeProperty = TypeDescriptor.GetProperties(this)[PropertyNames.Size]; 12599locationProperty = TypeDescriptor.GetProperties(this)[PropertyNames.Location];
System\Windows\Forms\Controls\Buttons\Button.cs (1)
70LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (7)
354LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.FlatStyle); 415LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Image); 438LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign); 687LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.TextAlign); 716LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.TextImageRelation); 739LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.Text); 1102using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
73using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Appearance)) 128LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.CheckAlign);
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (1)
49PropertyNames.FlatAppearanceBorderSize);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
89using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Appearance))
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2255using (new LayoutTransaction(ParentInternal, this, PropertyNames.Bounds))
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (5)
1082using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle)) 1661using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ColumnHeadersVisible)) 3349using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.RowHeadersVisible)) 3397using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.RowHeadersWidth)) 3584using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ScrollBars))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
13284LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Columns); 14518LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Columns); 17561LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Rows); 26704using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ColumnHeadersHeight)) 28980LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Rows); 29030LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Rows); 29052LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Rows);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
774using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
106LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
System\Windows\Forms\Controls\Labels\Label.cs (6)
157LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.AutoEllipsis); 224LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle); 347LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle); 560LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign); 787using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) 1213using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
201LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.LinkArea);
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (3)
163LayoutTransaction.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links); 307LayoutTransaction.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links); 345LayoutTransaction.DoLayout(_owner.ParentInternal, _owner, PropertyNames.Links);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
417LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.DrawMode);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1338using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
592using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
425LayoutTransaction.DoLayoutIf(AutoSize, this, this, PropertyNames.Image);
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
392using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
645using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.ScrollBars)) 1346using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
626using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (3)
365using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle)) 726using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Multiline)) 1162using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.WordWrap))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (13)
354using (new LayoutTransaction(this, this, PropertyNames.Anchor)) 650using (new LayoutTransaction(this, this, PropertyNames.Dock)) 651using (new LayoutTransaction(ParentInternal, this, PropertyNames.Dock)) 817LayoutTransaction.DoLayout(this, this, PropertyNames.GripStyle); 935LayoutTransaction.DoLayoutIf((Items.Count > 0), this, this, PropertyNames.ImageScalingSize); 1252using (LayoutTransaction.CreateTransactionIf(IsHandleCreated, this, this, PropertyNames.LayoutStyle)) 1966LayoutTransaction.DoLayout(this, e.Item, PropertyNames.Items); 1980LayoutTransaction.DoLayout(OverflowButton.DropDown, e.Item, PropertyNames.Items); 2519using (LayoutTransaction.CreateTransactionIf(AutoSize, this, this, PropertyNames.Renderer)) 3615using (new LayoutTransaction(this, this, PropertyNames.RightToLeft)) 4524using (new LayoutTransaction(this, this, PropertyNames.Orientation)) 4541LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Orientation); 4550using (new LayoutTransaction(this, this, PropertyNames.Orientation))
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (5)
113LayoutTransaction.DoLayout(this, this, PropertyNames.AutoSize); 621using (new LayoutTransaction(this, this, PropertyNames.RightToLeft)) 1023LayoutTransaction.DoLayout(this, this, PropertyNames.PreferredSize); 1236using (new LayoutTransaction(this, OwnerItem, PropertyNames.Font)) 1575LayoutTransaction.DoLayout(this, this, PropertyNames.Visible);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
98InvalidateItemLayout(PropertyNames.ShowDropDownArrow);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
447LayoutTransaction.DoLayout(DropDown, this, PropertyNames.RightToLeft);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
117LayoutTransaction.DoLayout(_owner.DropDown, _owner.DropDown, PropertyNames.Items);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
175LayoutTransaction.DoLayout(this, this, PropertyNames.ShowImageMargin); 192LayoutTransaction.DoLayout(this, this, PropertyNames.ShowCheckMargin);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (17)
341InvalidateItemLayout(PropertyNames.AutoSize); 612LayoutTransaction.DoLayout(this, ParentInternal, PropertyNames.Anchor); 640LayoutTransaction.DoLayout(this, ParentInternal, PropertyNames.Dock); 710InvalidateItemLayout(PropertyNames.DisplayStyle); 1010InvalidateItemLayout(PropertyNames.ImageAlign); 1071InvalidateItemLayout(PropertyNames.Image); 1135InvalidateItemLayout(PropertyNames.ImageIndex); 1163InvalidateItemLayout(PropertyNames.ImageKey); 1181InvalidateItemLayout(PropertyNames.ImageScaling); 1519InvalidateItemLayout(PropertyNames.Padding); 1893InvalidateItemLayout(PropertyNames.TextAlign); 1951InvalidateItemLayout(PropertyNames.TextImageRelation); 2403InvalidateItemLayout(PropertyNames.Image); 2640LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Bounds); 2823InvalidateItemLayout(PropertyNames.Font); 2991InvalidateItemLayout(PropertyNames.RightToLeft); 3000InvalidateItemLayout(PropertyNames.Text);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (3)
126using (new LayoutTransaction(_owner, _owner!, PropertyNames.Items)) 146using (new LayoutTransaction(_owner, _owner!, PropertyNames.Items)) 314LayoutTransaction.DoLayout(_owner, value, PropertyNames.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
663OnLayout(new LayoutEventArgs(this, PropertyNames.Rows)); 956LayoutTransaction.DoLayout(RowsInternal[i], this, PropertyNames.Rows);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelControlCollection.cs (1)
24using (new LayoutTransaction(value, value, PropertyNames.Parent))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
144LayoutTransaction.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)
227using LayoutTransaction t = new(ToolStripPanel, control, PropertyNames.Parent); 240layoutTransaction = new LayoutTransaction(ToolStripPanel, ToolStripPanel.ParentInternal, PropertyNames.Parent);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
199InvalidateItemLayout(PropertyNames.DropDownButtonWidth);
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (2)
119LayoutTransaction.DoLayout(Owner, this, PropertyNames.BorderStyle); 140LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.Spring);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
465using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
970using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Form.cs (3)
507LayoutTransaction.DoLayout(this, this, PropertyNames.AutoSize); 558LayoutTransaction.DoLayout(toLayout, this, PropertyNames.AutoSize); 1704using (new LayoutTransaction(this, this, PropertyNames.RightToLeftLayout))
System\Windows\Forms\Layout\ArrangedElement.cs (2)
142LayoutTransaction.DoLayout(Parent, this, PropertyNames.Visible); 171((IArrangedElement)this).PerformLayout(this, PropertyNames.Size);
System\Windows\Forms\Layout\CommonProperties.cs (4)
197LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Margin); 217LayoutTransaction.DoLayout(element.Container, element, PropertyNames.MaximumSize); 232using (new LayoutTransaction(element.Container as Control, element, PropertyNames.MinimumSize)) 663LayoutTransaction.DoLayout(element.Container, element, PropertyNames.FlowBreak);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (4)
766LayoutTransaction.DoLayout(this, this, PropertyNames.Bounds); 1100using (new LayoutTransaction(this, this, PropertyNames.Bounds, false)) 1368using (new LayoutTransaction(ParentInternal, this, PropertyNames.Font)) 1408using (new LayoutTransaction(ParentInternal, this, PropertyNames.Font))
System\Windows\Forms\Layout\DefaultLayout.cs (3)
923LayoutTransaction.DoLayout(element.Container.Container, element, PropertyNames.Anchor); 926LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Anchor); 944using (new LayoutTransaction(element.Container as Control, element, PropertyNames.Dock))
System\Windows\Forms\Layout\FlowLayout.cs (2)
287LayoutTransaction.DoLayout(container, container, PropertyNames.WrapContents); 299LayoutTransaction.DoLayout(container, container, PropertyNames.FlowDirection);
System\Windows\Forms\Layout\TableLayout.cs (8)
47PropertyNames.ChildIndex, // Changing Z-order changes the row/column assignments 48PropertyNames.Parent, // So does adding/removing controls 49PropertyNames.Visible, // as well as visibility 50PropertyNames.Items, // Changing toolstrip items collection 51PropertyNames.Rows, 52PropertyNames.Columns, 53PropertyNames.RowStyles, 54PropertyNames.ColumnStyles,
System\Windows\Forms\Panels\Panel.cs (1)
89LayoutTransaction.DoLayout(ParentInternal, this, PropertyNames.AutoSize);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutColumnStyleCollection.cs (1)
16get => PropertyNames.ColumnStyles;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
47using (new LayoutTransaction(this, this, PropertyNames.LayoutSettings))
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutRowStyleCollection.cs (1)
16get { return PropertyNames.RowStyles; }
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (7)
77LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.CellBorderStyle); 106LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.Columns); 132LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.Rows); 196LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.GrowStyle); 267LayoutTransaction.DoLayout(element.Container, element, PropertyNames.ColumnSpan); 305LayoutTransaction.DoLayout(element.Container, element, PropertyNames.RowSpan); 446LayoutTransaction.DoLayout(element.Container, element, PropertyNames.TableIndex);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyle.cs (2)
28LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.Style); 50LayoutTransaction.DoLayout(Owner, Owner, PropertyNames.Style);
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
88LayoutTransaction.DoLayout(this, this, PropertyNames.AutoScroll); 302LayoutTransaction.DoLayout(this, this, PropertyNames.DisplayRectangle); 659LayoutTransaction.DoLayout(this, this, PropertyNames.RightToLeft); 703LayoutTransaction.DoLayout(this, this, PropertyNames.Visible);
System\Windows\Forms\UserControl.cs (1)
93LayoutTransaction.DoLayout(toLayout, this, PropertyNames.AutoSize);