6 writes to Width
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
1316cp.Width = _width;
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
97Width = 0,
System\Windows\Forms\Form.cs (2)
3621cp.Width = correct.Width; 3628cp.Width = PInvoke.CW_USEDEFAULT;
System.Windows.Forms.Tests (2)
System\Windows\Forms\CreateParamsTests.cs (2)
92Width = value 141Width = 14,
121 references to Width
System.Windows.Forms (4)
System\Windows\Forms\CreateParams.cs (1)
72return $"CreateParams {{'{ClassName}', '{Caption}', 0x{Style:x}, 0x{ExStyle:x}, {{{X}, {Y}, {Width}, {Height}}}}}";
System\Windows\Forms\Form.cs (2)
3652cp.X = Math.Max(clientRect.X, clientRect.X + (clientRect.Width - cp.Width) / 2); 3677cp.X = Math.Max(screenRect.X, screenRect.X + (screenRect.Width - cp.Width) / 2);
System\Windows\Forms\NativeWindow.cs (1)
446cp.Width,
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
145Assert.Equal(control.Width, createParams.Width);
System.Windows.Forms.Tests (115)
System\Windows\Forms\AxHostTests.cs (2)
241Assert.Equal(75, createParams.Width); 281Assert.Equal(75, createParams.Width);
System\Windows\Forms\ButtonBaseTests.cs (3)
138Assert.Equal(75, createParams.Width); 171Assert.Equal(75, createParams.Width); 241Assert.Equal(75, createParams.Width);
System\Windows\Forms\ButtonTests.cs (4)
136Assert.Equal(75, createParams.Width); 160Assert.Equal(75, createParams.Width); 193Assert.Equal(75, createParams.Width); 263Assert.Equal(75, createParams.Width);
System\Windows\Forms\CheckBoxTests.cs (1)
139Assert.Equal(104, createParams.Width);
System\Windows\Forms\ComboBoxTests.cs (1)
148Assert.Equal(121, createParams.Width);
System\Windows\Forms\ContainerControlTests.cs (1)
139Assert.Equal(0, createParams.Width);
System\Windows\Forms\ControlTests.cs (9)
511Assert.Equal(0, createParams.Width); 535Assert.Equal(0, createParams.Width); 561Assert.Equal(0, createParams.Width); 586Assert.Equal(0, createParams.Width); 612Assert.Equal(0, createParams.Width); 634Assert.True(createParams.Width > 0); 661Assert.Equal(0, createParams.Width); 687Assert.Equal(0, createParams.Width); 713Assert.Equal(0, createParams.Width);
System\Windows\Forms\CreateParamsTests.cs (1)
94Assert.Equal(value, createParams.Width);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
146Assert.Equal(100, createParams.Width);
System\Windows\Forms\DateTimePickerTests.cs (1)
139Assert.Equal(200, createParams.Width);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
182Assert.Equal(control.Width, createParams.Width);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
142Assert.Equal(200, createParams.Width);
System\Windows\Forms\DomainUpDownTests.cs (1)
179createParams.Width.Should().Be(120);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
134Assert.Equal(200, createParams.Width);
System\Windows\Forms\FormTests.cs (1)
183Assert.Equal(300, createParams.Width);
System\Windows\Forms\GroupBoxTests.cs (2)
119Assert.Equal(200, createParams.Width); 147Assert.Equal(200, createParams.Width);
System\Windows\Forms\HScrollBarTests.cs (1)
133Assert.True(createParams.Width > 0);
System\Windows\Forms\LabelTests.cs (1)
130Assert.Equal(100, createParams.Width);
System\Windows\Forms\ListBoxTests.cs (8)
151Assert.Equal(120, createParams.Width); 177Assert.Equal(120, createParams.Width); 203Assert.Equal(120, createParams.Width); 229Assert.Equal(120, createParams.Width); 256Assert.Equal(120, createParams.Width); 285Assert.Equal(120, createParams.Width); 313Assert.Equal(120, createParams.Width); 340Assert.Equal(120, createParams.Width);
System\Windows\Forms\ListControlTests.cs (1)
127Assert.Equal(0, createParams.Width);
System\Windows\Forms\ListViewTests.cs (1)
169Assert.Equal(121, createParams.Width);
System\Windows\Forms\MonthCalendarTests.cs (1)
158Assert.Equal(control.Width, createParams.Width);
System\Windows\Forms\PanelTests.cs (2)
132Assert.Equal(200, createParams.Width); 158Assert.Equal(200, createParams.Width);
System\Windows\Forms\PictureBoxTests.cs (1)
133Assert.Equal(100, createParams.Width);
System\Windows\Forms\ProgressBarTests.cs (3)
119Assert.Equal(100, createParams.Width); 158Assert.Equal(100, createParams.Width); 187Assert.Equal(100, createParams.Width);
System\Windows\Forms\PropertyGridTests.cs (1)
187Assert.Equal(130, createParams.Width);
System\Windows\Forms\RadioButtonTests.cs (2)
136Assert.Equal(104, createParams.Width); 160Assert.Equal(104, createParams.Width);
System\Windows\Forms\RichTextBoxTests.cs (3)
153Assert.Equal(100, createParams.Width); 179Assert.Equal(100, createParams.Width); 233Assert.Equal(100, createParams.Width);
System\Windows\Forms\ScrollableControlTests.cs (3)
132Assert.Equal(0, createParams.Width); 159Assert.Equal(0, createParams.Width); 186Assert.Equal(0, createParams.Width);
System\Windows\Forms\ScrollBarTests.cs (1)
121Assert.Equal(0, createParams.Width);
System\Windows\Forms\SplitterTests.cs (2)
119Assert.Equal(3, createParams.Width); 146Assert.Equal(3, createParams.Width);
System\Windows\Forms\StatusStripTests.cs (1)
168Assert.Equal(200, createParams.Width);
System\Windows\Forms\TabControlTests.cs (9)
130Assert.Equal(200, createParams.Width); 155Assert.Equal(200, createParams.Width); 179Assert.Equal(200, createParams.Width); 216Assert.Equal(200, createParams.Width); 242Assert.Equal(200, createParams.Width); 266Assert.Equal(200, createParams.Width); 301Assert.Equal(200, createParams.Width); 326Assert.Equal(200, createParams.Width); 355Assert.Equal(200, createParams.Width);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
143Assert.Equal(200, createParams.Width);
System\Windows\Forms\TabPageTests.cs (1)
248Assert.Equal(200, createParams.Width);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
175Assert.Equal(100, createParams.Width); 206Assert.Equal(100, createParams.Width); 240Assert.Equal(100, createParams.Width);
System\Windows\Forms\ToolStripPanelTests.cs (1)
136Assert.Equal(0, createParams.Width);
System\Windows\Forms\ToolStripTests.cs (1)
348Assert.Equal(100, createParams.Width);
System\Windows\Forms\ToolTipTests.cs (1)
92Assert.Equal(0, createParams.Width);
System\Windows\Forms\TreeViewTests.cs (19)
146Assert.Equal(121, createParams.Width); 174Assert.Equal(121, createParams.Width); 204Assert.Equal(121, createParams.Width); 230Assert.Equal(121, createParams.Width); 256Assert.Equal(121, createParams.Width); 282Assert.Equal(121, createParams.Width); 308Assert.Equal(121, createParams.Width); 334Assert.Equal(121, createParams.Width); 360Assert.Equal(121, createParams.Width); 386Assert.Equal(121, createParams.Width); 412Assert.Equal(121, createParams.Width); 438Assert.Equal(121, createParams.Width); 471Assert.Equal(121, createParams.Width); 504Assert.Equal(121, createParams.Width); 550Assert.Equal(121, createParams.Width); 596Assert.Equal(121, createParams.Width); 624Assert.Equal(121, createParams.Width); 657Assert.Equal(121, createParams.Width); 690Assert.Equal(121, createParams.Width);
System\Windows\Forms\UpDownBaseTests.cs (2)
162Assert.Equal(120, createParams.Width); 193Assert.Equal(120, createParams.Width);
System\Windows\Forms\UserControlTests.cs (2)
139Assert.Equal(150, createParams.Width); 165Assert.Equal(150, createParams.Width);
System\Windows\Forms\VScrollBarTests.cs (1)
132Assert.True(createParams.Width > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
115Assert.Equal(250, createParams.Width);
TextBoxBaseTests.cs (5)
31Assert.Equal(100, createParams.Width); 57Assert.Equal(100, createParams.Width); 83Assert.Equal(100, createParams.Width); 109Assert.Equal(100, createParams.Width); 138Assert.Equal(100, createParams.Width);
TextBoxTests.cs (1)
139Assert.Equal(100, createParams.Width);
TrackBarTests.cs (4)
126Assert.Equal(104, createParams.Width); 154Assert.Equal(104, createParams.Width); 180Assert.Equal(104, createParams.Width); 211Assert.Equal(104, createParams.Width);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
576HwndSourceParameters HWSParam = new HwndSourceParameters(this.Text, cp.Width, cp.Height);