1 override of DrawMode
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
132public override DrawMode DrawMode
37 writes to DrawMode
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
150_listBoxSummary.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
316DrawMode = DrawMode.OwnerDrawFixed
System.Windows.Forms.Design (5)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
431_listBox.DrawMode = DrawMode.OwnerDrawFixed;
System\Drawing\Design\ColorEditor.ColorUI.cs (2)
180DrawMode = DrawMode.OwnerDrawFixed, 194DrawMode = DrawMode.OwnerDrawFixed,
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
24DrawMode = DrawMode.OwnerDrawFixed;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
523_selectedColumns.DrawMode = DrawMode.OwnerDrawFixed;
System.Windows.Forms.Tests (27)
System\Windows\Forms\ListBoxTests.cs (27)
328DrawMode = drawMode 896control.DrawMode = value; 902control.DrawMode = value; 950control.DrawMode = value; 958control.DrawMode = value; 1004control.DrawMode = value; 1013control.DrawMode = value; 1027Assert.Throws<InvalidEnumArgumentException>("value", () => control.DrawMode = value); 1037Assert.Throws<ArgumentException>("value", () => control.DrawMode = DrawMode.OwnerDrawVariable); 1722DrawMode = drawMode, 1759DrawMode = drawMode, 1796DrawMode = drawMode, 1886DrawMode = drawMode, 1917DrawMode = drawMode 1956DrawMode = DrawMode.OwnerDrawVariable 2070DrawMode = drawMode, 2099DrawMode = drawMode, 2129DrawMode = drawMode, 2153DrawMode = drawMode, 5147DrawMode = drawMode 5168DrawMode = drawMode 5184DrawMode = drawMode 5207DrawMode = drawMode 5245DrawMode = drawMode, 6290DrawMode = drawMode, 6355DrawMode = DrawMode.Normal, 6379DrawMode = DrawMode.Normal,
WinFormsControlsTest (3)
ListBoxes.Designer.cs (3)
67this.listBox1.DrawMode = System.Windows.Forms.DrawMode.Normal; 136this.listBox3.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; 172this.listBox4.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
9 references to DrawMode
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
655if (DrawMode != DrawMode.Normal)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ListBoxTests.cs (8)
66Assert.Equal(DrawMode.Normal, control.DrawMode); 897Assert.Equal(value, control.DrawMode); 903Assert.Equal(value, control.DrawMode); 951Assert.Equal(value, control.DrawMode); 959Assert.Equal(value, control.DrawMode); 1005Assert.Equal(value, control.DrawMode); 1014Assert.Equal(value, control.DrawMode); 1818Assert.True(control.DrawMode is DrawMode.Normal);