21 writes to MultiColumn
System.Windows.Forms.Tests (21)
System\Windows\Forms\ListBoxTests.cs (21)
272
MultiColumn
= multiColumn,
761
MultiColumn
= true
891
MultiColumn
= multiColumn
932
MultiColumn
= multiColumn,
992
MultiColumn
= multiColumn
1035
MultiColumn
= true
1388
MultiColumn
= multiColumn,
1420
MultiColumn
= multiColumn,
1456
MultiColumn
= multiColumn,
1482
MultiColumn
= multiColumn,
1508
MultiColumn
= multiColumn
1546
MultiColumn
= multiColumn
1597
MultiColumn
= multiColumn
1887
MultiColumn
= value
1893
control.
MultiColumn
= value;
1898
control.
MultiColumn
= !value;
1927
control.
MultiColumn
= value;
1935
control.
MultiColumn
= value;
1943
control.
MultiColumn
= !value;
1958
control.
MultiColumn
= false;
1961
Assert.Throws<ArgumentException>("value", () => control.
MultiColumn
= true);
12 references to MultiColumn
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (3)
406
if (
MultiColumn
&& value == DrawMode.OwnerDrawVariable)
520
if (!
MultiColumn
)
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)
96
Assert.False(control.
MultiColumn
);
1889
Assert.Equal(value, control.
MultiColumn
);
1894
Assert.Equal(value, control.
MultiColumn
);
1899
Assert.Equal(!value, control.
MultiColumn
);
1928
Assert.Equal(value, control.
MultiColumn
);
1936
Assert.Equal(value, control.
MultiColumn
);
1944
Assert.Equal(!value, control.
MultiColumn
);
1959
Assert.False(control.
MultiColumn
);
1962
Assert.False(control.
MultiColumn
);