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\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validation.cs (2)
179
public static void Validate(System.Windows.Forms.
DrawMode
enumToValidate, string parameterName = "value")
183
ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.
DrawMode
));
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
386
case
DrawMode
.OwnerDrawFixed:
390
case
DrawMode
.OwnerDrawVariable:
426
[DefaultValue(
DrawMode
.Normal)]
429
public
DrawMode
DrawMode
431
get => Properties.GetValueOrDefault(s_propDrawMode,
DrawMode
.Normal);
439
Properties.AddOrRemoveValue(s_propDrawMode, value, defaultValue:
DrawMode
.Normal);
644
DrawMode
drawMode = DrawMode;
645
if (drawMode ==
DrawMode
.OwnerDrawFixed ||
646
drawMode ==
DrawMode
.OwnerDrawVariable ||
667
if (DrawMode !=
DrawMode
.Normal)
921
if (DrawMode !=
DrawMode
.Normal)
2043
if (DrawMode !=
DrawMode
.OwnerDrawVariable)
3502
if (DrawMode ==
DrawMode
.OwnerDrawFixed)
3507
else if (DrawMode ==
DrawMode
.OwnerDrawVariable)
3726
if (DrawMode ==
DrawMode
.OwnerDrawVariable && itemID >= 0)
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (2)
34
if (DrawMode !=
DrawMode
.Normal)
151
&& DrawMode ==
DrawMode
.Normal)
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (2)
82
|| comboBox.DrawMode ==
DrawMode
.Normal)
268
|| 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)
27
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;