48 references to DrawMode
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
150
_listBoxSummary.DrawMode = System.Windows.Forms.
DrawMode
.OwnerDrawVariable;
System.Windows.Forms (40)
_generated\1\Validation.cs (2)
135
public static void Validate(System.Windows.Forms.
DrawMode
enumToValidate, string parameterName = "value")
139
ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.
DrawMode
));
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
366
case
DrawMode
.OwnerDrawFixed:
369
case
DrawMode
.OwnerDrawVariable:
410
[DefaultValue(
DrawMode
.Normal)]
413
public
DrawMode
DrawMode
415
get => Properties.GetValueOrDefault(s_propDrawMode,
DrawMode
.Normal);
423
Properties.AddOrRemoveValue(s_propDrawMode, value, defaultValue:
DrawMode
.Normal);
584
DrawMode
drawMode = DrawMode;
585
if (drawMode ==
DrawMode
.OwnerDrawFixed ||
586
drawMode ==
DrawMode
.OwnerDrawVariable ||
607
if (DrawMode !=
DrawMode
.Normal)
832
if (DrawMode !=
DrawMode
.Normal)
1955
if (DrawMode !=
DrawMode
.OwnerDrawVariable)
3371
if (DrawMode ==
DrawMode
.OwnerDrawFixed)
3376
else if (DrawMode ==
DrawMode
.OwnerDrawVariable)
3591
if (DrawMode ==
DrawMode
.OwnerDrawVariable && itemID >= 0)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (2)
132
public override
DrawMode
DrawMode
136
return
DrawMode
.Normal;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (20)
67
private
DrawMode
_drawMode =
DrawMode
.Normal;
324
case
DrawMode
.Normal:
326
case
DrawMode
.OwnerDrawFixed:
329
case
DrawMode
.OwnerDrawVariable:
388
[DefaultValue(
DrawMode
.Normal)]
391
public virtual
DrawMode
DrawMode
404
if (MultiColumn && value ==
DrawMode
.OwnerDrawVariable)
411
if (_drawMode ==
DrawMode
.OwnerDrawVariable)
577
if (_drawMode is
DrawMode
.OwnerDrawFixed or
DrawMode
.OwnerDrawVariable)
593
if (_drawMode ==
DrawMode
.OwnerDrawFixed && IsHandleCreated)
653
if (DrawMode !=
DrawMode
.Normal)
688
if (value && _drawMode ==
DrawMode
.OwnerDrawVariable)
712
if (_drawMode ==
DrawMode
.OwnerDrawVariable)
1416
if (_drawMode !=
DrawMode
.OwnerDrawVariable)
1752
if (_drawMode ==
DrawMode
.OwnerDrawFixed)
1947
if (_drawMode ==
DrawMode
.OwnerDrawVariable)
2165
return ItemHeight != DefaultListBoxItemHeight && _drawMode !=
DrawMode
.Normal;
2377
if (_drawMode ==
DrawMode
.OwnerDrawVariable && mis->itemID >= 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
339
DrawMode =
DrawMode
.OwnerDrawFixed
System.Windows.Forms.Design (7)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
445
_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)
26
DrawMode =
DrawMode
.OwnerDrawFixed;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
520
_selectedColumns.DrawMode =
DrawMode
.OwnerDrawFixed;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (2)
253
_newItemTypes.DrawMode =
DrawMode
.OwnerDrawVariable;
285
_listBoxItems.DrawMode =
DrawMode
.OwnerDrawVariable;