1 override of DrawMode
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
132
public 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)
316
DrawMode
= 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)
180
DrawMode
= DrawMode.OwnerDrawFixed,
194
DrawMode
= DrawMode.OwnerDrawFixed,
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
24
DrawMode
= 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)
328
DrawMode
= drawMode
896
control.
DrawMode
= value;
902
control.
DrawMode
= value;
950
control.
DrawMode
= value;
958
control.
DrawMode
= value;
1004
control.
DrawMode
= value;
1013
control.
DrawMode
= value;
1027
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
DrawMode
= value);
1037
Assert.Throws<ArgumentException>("value", () => control.
DrawMode
= DrawMode.OwnerDrawVariable);
1722
DrawMode
= drawMode,
1759
DrawMode
= drawMode,
1796
DrawMode
= drawMode,
1886
DrawMode
= drawMode,
1917
DrawMode
= drawMode
1956
DrawMode
= DrawMode.OwnerDrawVariable
2070
DrawMode
= drawMode,
2099
DrawMode
= drawMode,
2129
DrawMode
= drawMode,
2153
DrawMode
= drawMode,
5147
DrawMode
= drawMode
5168
DrawMode
= drawMode
5184
DrawMode
= drawMode
5207
DrawMode
= drawMode
5245
DrawMode
= drawMode,
6290
DrawMode
= drawMode,
6355
DrawMode
= DrawMode.Normal,
6379
DrawMode
= DrawMode.Normal,
WinFormsControlsTest (3)
ListBoxes.Designer.cs (3)
67
this.listBox1.
DrawMode
= System.Windows.Forms.DrawMode.Normal;
136
this.listBox3.
DrawMode
= System.Windows.Forms.DrawMode.OwnerDrawFixed;
172
this.listBox4.
DrawMode
= System.Windows.Forms.DrawMode.OwnerDrawVariable;
9 references to DrawMode
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
655
if (
DrawMode
!= DrawMode.Normal)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ListBoxTests.cs (8)
66
Assert.Equal(DrawMode.Normal, control.
DrawMode
);
897
Assert.Equal(value, control.
DrawMode
);
903
Assert.Equal(value, control.
DrawMode
);
951
Assert.Equal(value, control.
DrawMode
);
959
Assert.Equal(value, control.
DrawMode
);
1005
Assert.Equal(value, control.
DrawMode
);
1014
Assert.Equal(value, control.
DrawMode
);
1818
Assert.True(control.
DrawMode
is DrawMode.Normal);