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