16 writes to Width
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
482colStyle.Width = 100; // this width is ignored in AutoSize. 543TableLayoutSettings.ColumnStyles[0].Width = Math.Max(0, DisplayRectangle.Width);
System\Windows\Forms\Panels\TableLayoutPanel\ColumnStyle.cs (1)
20Width = width;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
529cs.Width = (float)Math.Round(lastColumnHeight * factor.Width); 533cs.Width = (float)Math.Round(cs.Width * factor.Width);
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (4)
658Table.ColumnStyles[0].Width = DesignerUtils.s_minimumStylePercent; 660Table.ColumnStyles[1].Width = DesignerUtils.s_minimumStylePercent; 1993Table.ColumnStyles[index].Width = ch[index]; 2005Table.ColumnStyles[index].Width = DesignerUtils.s_minimumStylePercent;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ColumnStyleTests.cs (7)
53Width = value 58style.Width = value; 80style.Width = value; 86style.Width = value; 117style.Width = value; 126style.Width = value; 139Assert.Throws<ArgumentOutOfRangeException>("value", () => style.Width = -1);
20 references to Width
System.Windows.Forms (2)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
533cs.Width = (float)Math.Round(cs.Width * factor.Width);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
99columnStyles.Append($"{colStyle.SizeType},{colStyle.Width},");
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StyleEditorForm.cs (1)
596sizeValue = FormatValueString(colStyle.SizeType, colStyle.Width);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
48Assert.Equal(100F, columnStyle.Width);
System.Windows.Forms.Tests (16)
System\Windows\Forms\ColumnStyleTests.cs (9)
13Assert.Equal(0, style.Width); 23Assert.Equal(0, style.Width); 36Assert.Equal(width, style.Width); 55Assert.Equal(value, style.Width); 59Assert.Equal(value, style.Width); 81Assert.Equal(value, style.Width); 87Assert.Equal(value, style.Width); 118Assert.Equal(value, style.Width); 127Assert.Equal(value, style.Width);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (2)
1796Assert.Equal(columnStyle.Width, ((ColumnStyle)Assert.Single(result.ColumnStyles)).Width);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (5)
49Assert.Equal(1, settings.ColumnStyles[0].Width); 51Assert.Equal(2.2f, settings.ColumnStyles[1].Width); 53Assert.Equal(1.12f, settings.ColumnStyles[2].Width); 55Assert.Equal(1, settings.ColumnStyles[3].Width); 57Assert.Equal(0, settings.ColumnStyles[4].Width);