88 references to FixedWidth
System.Windows.Forms (13)
System\Windows\Forms\Control.cs (5)
5291
if ((_controlStyle & ControlStyles.
FixedWidth
) != ControlStyles.
FixedWidth
&& (specified & BoundsSpecified.Width) != 0)
9776
if ((_controlStyle & ControlStyles.
FixedWidth
) != ControlStyles.
FixedWidth
)
9806
if (!GetStyle(ControlStyles.
FixedWidth
))
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\TrackBar\TrackBar.cs (4)
91
SetStyle(ControlStyles.
FixedWidth
, false);
95
SetStyle(ControlStyles.
FixedWidth
, _autoSize);
381
SetStyle(ControlStyles.
FixedWidth
, false);
387
SetStyle(ControlStyles.
FixedWidth
, _autoSize);
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)
195
[InlineData(ControlStyles.
FixedWidth
, false)]
System.Windows.Forms.Tests (74)
System\Windows\Forms\ButtonBaseTests.cs (1)
5065
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ButtonTests.cs (1)
1771
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\CheckBoxTests.cs (1)
499
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ComboBoxTests.cs (1)
1458
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ContainerControlTests.cs (1)
515
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ControlTests.Methods.cs (4)
2727
control.SetStyle(ControlStyles.
FixedWidth
, true);
2827
control.SetStyle(ControlStyles.
FixedWidth
, true);
2843
control.SetStyle(ControlStyles.
FixedWidth
, true);
2859
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
1102
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\DateTimePickerTests.cs (1)
865
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
218
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
680
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\DomainUpDownTests.cs (1)
1068
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
282
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\FormTests.cs (1)
2433
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\GroupBoxTests.cs (1)
1417
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\HScrollBarTests.cs (1)
212
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\LabelTests.cs (1)
149
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ListBoxTests.cs (1)
4901
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ListControlTests.cs (1)
2566
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ListViewTests.cs (1)
4258
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\MenuStripTests.cs (1)
515
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\MonthCalendarTests.cs (1)
3327
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\PanelTests.cs (1)
856
[InlineData(ControlStyles.
FixedWidth
, 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
));
1872
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ProgressBarTests.cs (1)
1801
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\PropertyGridTests.cs (1)
3477
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\RadioButtonTests.cs (1)
626
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\RichTextBoxTests.cs (1)
8974
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ScrollableControlTests.cs (1)
1353
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ScrollBarTests.cs (1)
1865
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\SplitterTests.cs (1)
1644
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\StatusStripTests.cs (1)
1100
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\TabControlTests.cs (1)
3933
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\TableLayoutPanelTests.cs (1)
1172
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\TabPageTests.cs (1)
3778
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1676
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3647
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ToolStripPanelTests.cs (1)
310
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\ToolStripTests.cs (1)
4925
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\TreeViewTests.cs (1)
5048
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\UpDownBaseTests.cs (1)
1685
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\UserControlTests.cs (1)
900
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\VScrollBarTests.cs (1)
202
[InlineData(ControlStyles.
FixedWidth
, false)]
System\Windows\Forms\WebBrowserTests.cs (1)
2819
[InlineData(ControlStyles.
FixedWidth
, false)]
TextBoxBaseTests.cs (1)
5145
[InlineData(ControlStyles.
FixedWidth
, false)]
TextBoxTests.cs (1)
498
[InlineData(ControlStyles.
FixedWidth
, false)]
TrackBarTests.cs (21)
229
Assert.False(control.GetStyle(ControlStyles.
FixedWidth
));
238
Assert.False(control.GetStyle(ControlStyles.
FixedWidth
));
247
Assert.False(control.GetStyle(ControlStyles.
FixedWidth
));
267
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedWidth
));
276
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedWidth
));
285
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedWidth
));
309
Assert.False(control.GetStyle(ControlStyles.
FixedWidth
));
321
Assert.False(control.GetStyle(ControlStyles.
FixedWidth
));
333
Assert.False(control.GetStyle(ControlStyles.
FixedWidth
));
363
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedWidth
));
375
Assert.Equal(value, control.GetStyle(ControlStyles.
FixedWidth
));
387
Assert.Equal(!value, control.GetStyle(ControlStyles.
FixedWidth
));
1316
Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.
FixedWidth
));
1324
Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.
FixedWidth
));
1350
Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.
FixedWidth
));
1358
Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.
FixedWidth
));
1390
Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.
FixedWidth
));
1401
Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.
FixedWidth
));
1437
Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.
FixedWidth
));
1448
Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.
FixedWidth
));
2276
[InlineData(ControlStyles.
FixedWidth
, false)]
WebBrowserBaseTests.cs (1)
767
[InlineData(ControlStyles.
FixedWidth
, false)]