12 writes to ColumnWidth
System.Windows.Forms.Tests (12)
System\Windows\Forms\ListBoxTests.cs (12)
660ColumnWidth = value 665control.ColumnWidth = value; 679ColumnWidth = 10 682control.ColumnWidth = value; 686control.ColumnWidth = value; 707control.ColumnWidth = value; 714control.ColumnWidth = value; 731ColumnWidth = 10 741control.ColumnWidth = value; 748control.ColumnWidth = value; 766control.ColumnWidth = 123; 777Assert.Throws<ArgumentOutOfRangeException>("value", () => control.ColumnWidth = -1);
10 references to ColumnWidth
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2357bounds.Width = MultiColumn ? Math.Max(ColumnWidth, bounds.Width) : Math.Max(MaxItemWidth, bounds.Width);
System.Windows.Forms.Tests (9)
System\Windows\Forms\ListBoxTests.cs (9)
42Assert.Equal(0, control.ColumnWidth); 662Assert.Equal(value, control.ColumnWidth); 666Assert.Equal(value, control.ColumnWidth); 683Assert.Equal(value, control.ColumnWidth); 687Assert.Equal(value, control.ColumnWidth); 708Assert.Equal(value, control.ColumnWidth); 715Assert.Equal(value, control.ColumnWidth); 742Assert.Equal(value, control.ColumnWidth); 749Assert.Equal(value, control.ColumnWidth);