8 writes to Height
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (1)
1317cp.Height = _height;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
350cp.Height = PreferredHeight; 355cp.Height = PreferredHeight;
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
98Height = 0,
System\Windows\Forms\Form.cs (2)
3622cp.Height = correct.Height; 3629cp.Height = PInvoke.CW_USEDEFAULT;
System.Windows.Forms.Tests (2)
System\Windows\Forms\CreateParamsTests.cs (2)
103Height = value 142Height = 15,
121 references to Height
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)
3653cp.Y = Math.Max(clientRect.Y, clientRect.Y + (clientRect.Height - cp.Height) / 2); 3678cp.Y = Math.Max(screenRect.Y, screenRect.Y + (screenRect.Height - cp.Height) / 2);
System\Windows\Forms\NativeWindow.cs (1)
447cp.Height,
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
141Assert.Equal(control.Height, createParams.Height);
System.Windows.Forms.Tests (115)
System\Windows\Forms\AxHostTests.cs (2)
237Assert.Equal(23, createParams.Height); 277Assert.Equal(23, createParams.Height);
System\Windows\Forms\ButtonBaseTests.cs (3)
134Assert.Equal(23, createParams.Height); 167Assert.Equal(23, createParams.Height); 237Assert.Equal(23, createParams.Height);
System\Windows\Forms\ButtonTests.cs (4)
132Assert.Equal(23, createParams.Height); 156Assert.Equal(23, createParams.Height); 189Assert.Equal(23, createParams.Height); 259Assert.Equal(23, createParams.Height);
System\Windows\Forms\CheckBoxTests.cs (1)
135Assert.Equal(24, createParams.Height);
System\Windows\Forms\ComboBoxTests.cs (1)
144Assert.Equal(control.PreferredHeight, createParams.Height);
System\Windows\Forms\ContainerControlTests.cs (1)
135Assert.Equal(0, createParams.Height);
System\Windows\Forms\ControlTests.cs (9)
507Assert.Equal(0, createParams.Height); 531Assert.Equal(0, createParams.Height); 557Assert.Equal(0, createParams.Height); 582Assert.Equal(0, createParams.Height); 608Assert.Equal(0, createParams.Height); 630Assert.True(createParams.Height > 0); 657Assert.Equal(0, createParams.Height); 683Assert.Equal(0, createParams.Height); 709Assert.Equal(0, createParams.Height);
System\Windows\Forms\CreateParamsTests.cs (1)
105Assert.Equal(value, createParams.Height);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
142Assert.Equal(control.PreferredHeight, createParams.Height);
System\Windows\Forms\DateTimePickerTests.cs (1)
135Assert.Equal(control.PreferredHeight, createParams.Height);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
178Assert.Equal(control.Height, createParams.Height);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
138Assert.Equal(100, createParams.Height);
System\Windows\Forms\DomainUpDownTests.cs (1)
176createParams.Height.Should().Be(_sub.PreferredHeight);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
130Assert.Equal(100, createParams.Height);
System\Windows\Forms\FormTests.cs (1)
179Assert.Equal(300, createParams.Height);
System\Windows\Forms\GroupBoxTests.cs (2)
115Assert.Equal(100, createParams.Height); 143Assert.Equal(100, createParams.Height);
System\Windows\Forms\HScrollBarTests.cs (1)
129Assert.True(createParams.Height > 0);
System\Windows\Forms\LabelTests.cs (1)
126Assert.Equal(23, createParams.Height);
System\Windows\Forms\ListBoxTests.cs (8)
147Assert.Equal(96, createParams.Height); 173Assert.Equal(96, createParams.Height); 199Assert.Equal(96, createParams.Height); 225Assert.Equal(96, createParams.Height); 252Assert.Equal(96, createParams.Height); 281Assert.Equal(96, createParams.Height); 309Assert.Equal(96, createParams.Height); 336Assert.Equal(96, createParams.Height);
System\Windows\Forms\ListControlTests.cs (1)
123Assert.Equal(0, createParams.Height);
System\Windows\Forms\ListViewTests.cs (1)
165Assert.Equal(97, createParams.Height);
System\Windows\Forms\MonthCalendarTests.cs (1)
154Assert.Equal(control.Height, createParams.Height);
System\Windows\Forms\PanelTests.cs (2)
128Assert.Equal(100, createParams.Height); 154Assert.Equal(100, createParams.Height);
System\Windows\Forms\PictureBoxTests.cs (1)
129Assert.Equal(50, createParams.Height);
System\Windows\Forms\ProgressBarTests.cs (3)
115Assert.Equal(23, createParams.Height); 154Assert.Equal(23, createParams.Height); 183Assert.Equal(23, createParams.Height);
System\Windows\Forms\PropertyGridTests.cs (1)
183Assert.Equal(130, createParams.Height);
System\Windows\Forms\RadioButtonTests.cs (2)
132Assert.Equal(24, createParams.Height); 156Assert.Equal(24, createParams.Height);
System\Windows\Forms\RichTextBoxTests.cs (3)
149Assert.Equal(96, createParams.Height); 175Assert.Equal(control.Height, createParams.Height); 229Assert.Equal(96, createParams.Height);
System\Windows\Forms\ScrollableControlTests.cs (3)
128Assert.Equal(0, createParams.Height); 155Assert.Equal(0, createParams.Height); 182Assert.Equal(0, createParams.Height);
System\Windows\Forms\ScrollBarTests.cs (1)
117Assert.Equal(0, createParams.Height);
System\Windows\Forms\SplitterTests.cs (2)
115Assert.Equal(3, createParams.Height); 142Assert.Equal(3, createParams.Height);
System\Windows\Forms\StatusStripTests.cs (1)
164Assert.Equal(22, createParams.Height);
System\Windows\Forms\TabControlTests.cs (9)
126Assert.Equal(100, createParams.Height); 151Assert.Equal(100, createParams.Height); 175Assert.Equal(100, createParams.Height); 212Assert.Equal(100, createParams.Height); 238Assert.Equal(100, createParams.Height); 262Assert.Equal(100, createParams.Height); 297Assert.Equal(100, createParams.Height); 322Assert.Equal(100, createParams.Height); 351Assert.Equal(100, createParams.Height);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
139Assert.Equal(100, createParams.Height);
System\Windows\Forms\TabPageTests.cs (1)
244Assert.Equal(100, createParams.Height);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
171Assert.Equal(25, createParams.Height); 202Assert.Equal(25, createParams.Height); 236Assert.Equal(25, createParams.Height);
System\Windows\Forms\ToolStripPanelTests.cs (1)
132Assert.Equal(0, createParams.Height);
System\Windows\Forms\ToolStripTests.cs (1)
344Assert.Equal(25, createParams.Height);
System\Windows\Forms\ToolTipTests.cs (1)
88Assert.Equal(0, createParams.Height);
System\Windows\Forms\TreeViewTests.cs (19)
142Assert.Equal(97, createParams.Height); 170Assert.Equal(97, createParams.Height); 200Assert.Equal(97, createParams.Height); 226Assert.Equal(97, createParams.Height); 252Assert.Equal(97, createParams.Height); 278Assert.Equal(97, createParams.Height); 304Assert.Equal(97, createParams.Height); 330Assert.Equal(97, createParams.Height); 356Assert.Equal(97, createParams.Height); 382Assert.Equal(97, createParams.Height); 408Assert.Equal(97, createParams.Height); 434Assert.Equal(97, createParams.Height); 467Assert.Equal(97, createParams.Height); 500Assert.Equal(97, createParams.Height); 546Assert.Equal(97, createParams.Height); 592Assert.Equal(97, createParams.Height); 620Assert.Equal(97, createParams.Height); 653Assert.Equal(97, createParams.Height); 686Assert.Equal(97, createParams.Height);
System\Windows\Forms\UpDownBaseTests.cs (2)
159Assert.Equal(control.PreferredHeight, createParams.Height); 189Assert.Equal(control.Height, createParams.Height);
System\Windows\Forms\UserControlTests.cs (2)
135Assert.Equal(150, createParams.Height); 161Assert.Equal(150, createParams.Height);
System\Windows\Forms\VScrollBarTests.cs (1)
128Assert.True(createParams.Height > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
111Assert.Equal(250, createParams.Height);
TextBoxBaseTests.cs (5)
27Assert.Equal(control.PreferredHeight, createParams.Height); 53Assert.Equal(control.PreferredHeight, createParams.Height); 79Assert.Equal(control.PreferredHeight, createParams.Height); 105Assert.Equal(control.Height, createParams.Height); 134Assert.Equal(control.PreferredHeight, createParams.Height);
TextBoxTests.cs (1)
135Assert.Equal(control.PreferredHeight, createParams.Height);
TrackBarTests.cs (4)
122Assert.Equal(s_dimension, createParams.Height); 150Assert.Equal(s_dimension, createParams.Height); 176Assert.Equal(s_dimension, createParams.Height); 207Assert.Equal(s_dimension, createParams.Height);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
576HwndSourceParameters HWSParam = new HwndSourceParameters(this.Text, cp.Width, cp.Height);