10 writes to DrawMode
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
477
DrawMode
= DrawMode.OwnerDrawVariable;
System\Windows\Forms\ComboBoxTests.cs (3)
2630
DrawMode
= drawMode,
2672
control.
DrawMode
= DrawMode.OwnerDrawVariable;
2757
DrawMode
= DrawMode.OwnerDrawVariable;
WinFormsControlsTest (6)
ComboBoxesWithScrollBars.cs (6)
79
comboBox1.
DrawMode
= DrawMode.OwnerDrawVariable;
84
comboBox1.
DrawMode
= DrawMode.OwnerDrawFixed;
95
comboBox2.
DrawMode
= DrawMode.OwnerDrawVariable;
100
comboBox2.
DrawMode
= DrawMode.OwnerDrawFixed;
112
comboBox3.
DrawMode
= DrawMode.OwnerDrawVariable;
119
comboBox3.
DrawMode
= DrawMode.OwnerDrawFixed;
13 references to DrawMode
System.Windows.Forms (9)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (9)
359
switch (
DrawMode
)
413
if (
DrawMode
!= value)
579
DrawMode drawMode =
DrawMode
;
602
if (
DrawMode
!= DrawMode.Normal)
827
if (
DrawMode
!= DrawMode.Normal)
1957
if (
DrawMode
!= DrawMode.OwnerDrawVariable)
3387
if (
DrawMode
== DrawMode.OwnerDrawFixed)
3392
else if (
DrawMode
== DrawMode.OwnerDrawVariable)
3607
if (
DrawMode
== DrawMode.OwnerDrawVariable && itemID >= 0)
System.Windows.Forms.Tests (1)
System\Windows\Forms\ComboBoxTests.cs (1)
69
Assert.Equal(DrawMode.Normal, control.
DrawMode
);
WinFormsControlsTest (3)
ComboBoxesWithScrollBars.cs (3)
41
useDifferentHeightsCheckBox1.Checked = comboBox1.
DrawMode
== DrawMode.OwnerDrawVariable;
42
useDifferentHeightsCheckBox2.Checked = comboBox2.
DrawMode
== DrawMode.OwnerDrawVariable;
43
useDifferentHeightsCheckBox3.Checked = comboBox3.
DrawMode
== DrawMode.OwnerDrawVariable;