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