137 references to FixedHeight
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (5)
5331
if ((_controlStyle & ControlStyles.
FixedHeight
) != ControlStyles.
FixedHeight
&& (specified & BoundsSpecified.Height) != 0)
9802
if ((_controlStyle & ControlStyles.
FixedHeight
) != ControlStyles.
FixedHeight
)
9831
if (!GetStyle(ControlStyles.
FixedHeight
))
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
115
SetStyle(ControlStyles.
FixedHeight
, true);
System\Windows\Forms\Controls\Labels\Label.cs (1)
72
SetStyle(ControlStyles.
FixedHeight
|
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
835
SetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth, true);
841
SetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth, false);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (4)
95
SetStyle(ControlStyles.
FixedHeight
, _textBoxFlags[s_autoSize]);
267
SetStyle(ControlStyles.
FixedHeight
, value);
733
SetStyle(ControlStyles.
FixedHeight
, false);
738
SetStyle(ControlStyles.
FixedHeight
, AutoSize);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (4)
89
SetStyle(ControlStyles.
FixedHeight
, _autoSize);
95
SetStyle(ControlStyles.
FixedHeight
, false);
379
SetStyle(ControlStyles.
FixedHeight
, _autoSize);
385
SetStyle(ControlStyles.
FixedHeight
, false);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
67
SetStyle(ControlStyles.Opaque | ControlStyles.
FixedHeight
| ControlStyles.ResizeRedraw, true);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
35
SetStyle(ControlStyles.Opaque | ControlStyles.
FixedHeight
| ControlStyles.FixedWidth, true);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
17
SetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth, true);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
198
[InlineData(ControlStyles.
FixedHeight
, false)]
System.Windows.Forms.Tests (116)
System\Windows\Forms\ButtonBaseTests.cs (1)
5068
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ButtonTests.cs (1)
1774
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\CheckBoxTests.cs (1)
502
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ComboBoxTests.cs (1)
1460
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ContainerControlTests.cs (1)
518
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ControlTests.Methods.cs (4)
2746
control.SetStyle(ControlStyles.
FixedHeight
, true);
2797
control.SetStyle(ControlStyles.
FixedHeight
, true);
2813
control.SetStyle(ControlStyles.
FixedHeight
, true);
2829
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
1105
[InlineData(ControlStyles.
FixedHeight
, true)]
System\Windows\Forms\DateTimePickerTests.cs (1)
868
[InlineData(ControlStyles.
FixedHeight
, true)]
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
221
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
683
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\DomainUpDownTests.cs (1)
1071
[InlineData(ControlStyles.
FixedHeight
, true)]
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
285
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\FormTests.cs (1)
2436
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\GroupBoxTests.cs (1)
1420
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\HScrollBarTests.cs (1)
215
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\LabelTests.cs (1)
152
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ListBoxTests.cs (1)
4904
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ListControlTests.cs (1)
2569
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ListViewTests.cs (1)
4261
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\MenuStripTests.cs (1)
518
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\MonthCalendarTests.cs (1)
3330
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\PanelTests.cs (1)
859
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\PictureBoxTests.cs (5)
1298
Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth));
1304
Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth));
1317
Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth));
1323
Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth));
1875
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ProgressBarTests.cs (1)
1804
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\PropertyGridTests.cs (1)
3480
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\RadioButtonTests.cs (1)
629
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\RichTextBoxTests.cs (22)
390
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
399
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
408
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
434
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
443
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
452
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
478
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
488
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
498
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2070
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2078
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2086
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2108
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2116
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2124
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
2147
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2157
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2167
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2211
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2221
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2231
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
8977
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ScrollableControlTests.cs (1)
1356
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ScrollBarTests.cs (1)
1868
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\SplitterTests.cs (1)
1647
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\StatusStripTests.cs (1)
1103
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\TabControlTests.cs (1)
3936
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\TableLayoutPanelTests.cs (1)
1175
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\TabPageTests.cs (1)
3781
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1679
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3650
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ToolStripPanelTests.cs (1)
313
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ToolStripTests.cs (1)
4928
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\TreeViewTests.cs (1)
5051
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\UpDownBaseTests.cs (1)
1688
[InlineData(ControlStyles.
FixedHeight
, true)]
System\Windows\Forms\UserControlTests.cs (1)
903
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\VScrollBarTests.cs (1)
205
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\WebBrowserTests.cs (1)
2822
[InlineData(ControlStyles.
FixedHeight
, false)]
TextBoxBaseTests.cs (22)
218
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
227
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
236
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
256
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
266
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
276
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
303
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
313
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
323
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
1950
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
1958
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
1966
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
1982
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1990
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1998
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2030
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2040
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2050
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
2082
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2092
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2102
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
5148
[InlineData(ControlStyles.
FixedHeight
, true)]
TextBoxTests.cs (1)
501
[InlineData(ControlStyles.
FixedHeight
, true)]
TrackBarTests.cs (21)
232
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
241
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
250
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
270
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
279
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
288
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
312
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
324
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
336
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
366
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
378
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
390
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1319
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1327
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1353
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1361
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1393
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1404
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1440
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1451
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
2279
[InlineData(ControlStyles.
FixedHeight
, false)]
WebBrowserBaseTests.cs (1)
770
[InlineData(ControlStyles.
FixedHeight
, false)]