52 references to DrawMode
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
150
_listBoxSummary.DrawMode = System.Windows.Forms.
DrawMode
.OwnerDrawVariable;
System.Windows.Forms (44)
_generated\1\Validation.cs (2)
143
public static void Validate(System.Windows.Forms.
DrawMode
enumToValidate, string parameterName = "value")
147
ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.
DrawMode
));
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
384
case
DrawMode
.OwnerDrawFixed:
388
case
DrawMode
.OwnerDrawVariable:
424
[DefaultValue(
DrawMode
.Normal)]
427
public
DrawMode
DrawMode
429
get => Properties.GetValueOrDefault(s_propDrawMode,
DrawMode
.Normal);
437
Properties.AddOrRemoveValue(s_propDrawMode, value, defaultValue:
DrawMode
.Normal);
640
DrawMode
drawMode = DrawMode;
641
if (drawMode ==
DrawMode
.OwnerDrawFixed ||
642
drawMode ==
DrawMode
.OwnerDrawVariable ||
663
if (DrawMode !=
DrawMode
.Normal)
917
if (DrawMode !=
DrawMode
.Normal)
2039
if (DrawMode !=
DrawMode
.OwnerDrawVariable)
3489
if (DrawMode ==
DrawMode
.OwnerDrawFixed)
3494
else if (DrawMode ==
DrawMode
.OwnerDrawVariable)
3713
if (DrawMode ==
DrawMode
.OwnerDrawVariable && itemID >= 0)
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (2)
30
if (DrawMode !=
DrawMode
.Normal)
142
&& DrawMode ==
DrawMode
.Normal)
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (2)
82
|| comboBox.DrawMode ==
DrawMode
.Normal)
267
|| comboBox.DrawMode !=
DrawMode
.Normal)
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)
1418
if (_drawMode !=
DrawMode
.OwnerDrawVariable)
1754
if (_drawMode ==
DrawMode
.OwnerDrawFixed)
1949
if (_drawMode ==
DrawMode
.OwnerDrawVariable)
2167
return ItemHeight != DefaultListBoxItemHeight && _drawMode !=
DrawMode
.Normal;
2379
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;