137 references to FixedHeight
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (5)
5333
if ((_controlStyle & ControlStyles.
FixedHeight
) != ControlStyles.
FixedHeight
&& (specified & BoundsSpecified.Height) != 0)
9810
if ((_controlStyle & ControlStyles.
FixedHeight
) != ControlStyles.
FixedHeight
)
9839
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)
836
SetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth, true);
842
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)
90
SetStyle(ControlStyles.
FixedHeight
, _autoSize);
96
SetStyle(ControlStyles.
FixedHeight
, false);
380
SetStyle(ControlStyles.
FixedHeight
, _autoSize);
386
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)
196
[InlineData(ControlStyles.
FixedHeight
, false)]
System.Windows.Forms.Tests (116)
System\Windows\Forms\ButtonBaseTests.cs (1)
5066
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ButtonTests.cs (1)
1772
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\CheckBoxTests.cs (1)
500
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ComboBoxTests.cs (1)
1458
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ContainerControlTests.cs (1)
516
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ControlTests.Methods.cs (4)
2786
control.SetStyle(ControlStyles.
FixedHeight
, true);
2837
control.SetStyle(ControlStyles.
FixedHeight
, true);
2853
control.SetStyle(ControlStyles.
FixedHeight
, true);
2869
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
1103
[InlineData(ControlStyles.
FixedHeight
, true)]
System\Windows\Forms\DateTimePickerTests.cs (1)
866
[InlineData(ControlStyles.
FixedHeight
, true)]
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
219
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
681
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\DomainUpDownTests.cs (1)
1069
[InlineData(ControlStyles.
FixedHeight
, true)]
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
283
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\FormTests.cs (1)
2434
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\GroupBoxTests.cs (1)
1418
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\HScrollBarTests.cs (1)
213
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\LabelTests.cs (1)
150
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ListBoxTests.cs (1)
4902
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ListControlTests.cs (1)
2567
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ListViewTests.cs (1)
4259
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\MenuStripTests.cs (1)
516
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\MonthCalendarTests.cs (1)
3328
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\PanelTests.cs (1)
857
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\PictureBoxTests.cs (5)
1296
Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth));
1302
Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth));
1315
Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth));
1321
Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.
FixedHeight
| ControlStyles.FixedWidth));
1873
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ProgressBarTests.cs (1)
1802
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\PropertyGridTests.cs (1)
3478
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\RadioButtonTests.cs (1)
627
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\RichTextBoxTests.cs (22)
388
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
397
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
406
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
432
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
441
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
450
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
476
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
486
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
496
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2068
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2076
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2084
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2106
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2114
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2122
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
2145
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2155
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2165
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2209
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2219
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2229
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
8975
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ScrollableControlTests.cs (1)
1354
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ScrollBarTests.cs (1)
1866
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\SplitterTests.cs (1)
1645
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\StatusStripTests.cs (1)
1101
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\TabControlTests.cs (1)
3934
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\TableLayoutPanelTests.cs (1)
1173
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\TabPageTests.cs (1)
3779
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1677
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3648
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ToolStripPanelTests.cs (1)
311
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\ToolStripTests.cs (1)
4926
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\TreeViewTests.cs (1)
5049
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\UpDownBaseTests.cs (1)
1686
[InlineData(ControlStyles.
FixedHeight
, true)]
System\Windows\Forms\UserControlTests.cs (1)
901
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\VScrollBarTests.cs (1)
203
[InlineData(ControlStyles.
FixedHeight
, false)]
System\Windows\Forms\WebBrowserTests.cs (1)
2820
[InlineData(ControlStyles.
FixedHeight
, false)]
TextBoxBaseTests.cs (22)
216
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
225
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
234
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
254
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
264
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
274
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
301
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
311
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
321
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
1948
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
1956
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
1964
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
1980
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1988
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1996
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2028
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2038
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
2048
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedHeight
));
2080
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2090
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
2100
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
5146
[InlineData(ControlStyles.
FixedHeight
, true)]
TextBoxTests.cs (1)
499
[InlineData(ControlStyles.
FixedHeight
, true)]
TrackBarTests.cs (21)
230
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
239
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
248
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
268
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
277
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
286
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
310
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
322
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
334
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedHeight
));
364
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
376
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
388
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1317
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1325
Assert.False(control.GetStyle(ControlStyles.
FixedHeight
));
1351
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1359
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1391
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1402
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1438
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
1449
Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.
FixedHeight
));
2277
[InlineData(ControlStyles.
FixedHeight
, false)]
WebBrowserBaseTests.cs (1)
768
[InlineData(ControlStyles.
FixedHeight
, false)]