88 references to FixedWidth
System.Windows.Forms (13)
System\Windows\Forms\Control.cs (5)
5286if ((_controlStyle & ControlStyles.FixedWidth) != ControlStyles.FixedWidth && (specified & BoundsSpecified.Width) != 0) 9771if ((_controlStyle & ControlStyles.FixedWidth) != ControlStyles.FixedWidth) 9801if (!GetStyle(ControlStyles.FixedWidth))
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
836SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, true); 842SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, false);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (4)
91SetStyle(ControlStyles.FixedWidth, false); 95SetStyle(ControlStyles.FixedWidth, _autoSize); 381SetStyle(ControlStyles.FixedWidth, false); 387SetStyle(ControlStyles.FixedWidth, _autoSize);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
35SetStyle(ControlStyles.Opaque | ControlStyles.FixedHeight | ControlStyles.FixedWidth, true);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
17SetStyle(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)
1457[InlineData(ControlStyles.FixedWidth, false)]
System\Windows\Forms\ContainerControlTests.cs (1)
515[InlineData(ControlStyles.FixedWidth, false)]
System\Windows\Forms\ControlTests.Methods.cs (4)
2727control.SetStyle(ControlStyles.FixedWidth, true); 2827control.SetStyle(ControlStyles.FixedWidth, true); 2843control.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)
1296Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth)); 1302Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth)); 1315Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth)); 1321Assert.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)
229Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 238Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 247Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 267Assert.Equal(value, control.GetStyle(ControlStyles.FixedWidth)); 276Assert.Equal(value, control.GetStyle(ControlStyles.FixedWidth)); 285Assert.Equal(!value, control.GetStyle(ControlStyles.FixedWidth)); 309Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 321Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 333Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 363Assert.Equal(value, control.GetStyle(ControlStyles.FixedWidth)); 375Assert.Equal(value, control.GetStyle(ControlStyles.FixedWidth)); 387Assert.Equal(!value, control.GetStyle(ControlStyles.FixedWidth)); 1316Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1324Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1350Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1358Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1390Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1401Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1437Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1448Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 2276[InlineData(ControlStyles.FixedWidth, false)]
WebBrowserBaseTests.cs (1)
767[InlineData(ControlStyles.FixedWidth, false)]