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