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)
179public static void Validate(System.Windows.Forms.DrawMode enumToValidate, string parameterName = "value") 183ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.DrawMode));
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
386case DrawMode.OwnerDrawFixed: 390case DrawMode.OwnerDrawVariable: 426[DefaultValue(DrawMode.Normal)] 429public DrawMode DrawMode 431get => Properties.GetValueOrDefault(s_propDrawMode, DrawMode.Normal); 439Properties.AddOrRemoveValue(s_propDrawMode, value, defaultValue: DrawMode.Normal); 644DrawMode drawMode = DrawMode; 645if (drawMode == DrawMode.OwnerDrawFixed || 646drawMode == DrawMode.OwnerDrawVariable || 667if (DrawMode != DrawMode.Normal) 921if (DrawMode != DrawMode.Normal) 2043if (DrawMode != DrawMode.OwnerDrawVariable) 3502if (DrawMode == DrawMode.OwnerDrawFixed) 3507else if (DrawMode == DrawMode.OwnerDrawVariable) 3726if (DrawMode == DrawMode.OwnerDrawVariable && itemID >= 0)
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (2)
34if (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)
132public override DrawMode DrawMode 136return DrawMode.Normal;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (20)
67private DrawMode _drawMode = DrawMode.Normal; 324case DrawMode.Normal: 326case DrawMode.OwnerDrawFixed: 329case DrawMode.OwnerDrawVariable: 388[DefaultValue(DrawMode.Normal)] 391public virtual DrawMode DrawMode 404if (MultiColumn && value == DrawMode.OwnerDrawVariable) 411if (_drawMode == DrawMode.OwnerDrawVariable) 577if (_drawMode is DrawMode.OwnerDrawFixed or DrawMode.OwnerDrawVariable) 593if (_drawMode == DrawMode.OwnerDrawFixed && IsHandleCreated) 653if (DrawMode != DrawMode.Normal) 688if (value && _drawMode == DrawMode.OwnerDrawVariable) 712if (_drawMode == DrawMode.OwnerDrawVariable) 1418if (_drawMode != DrawMode.OwnerDrawVariable) 1754if (_drawMode == DrawMode.OwnerDrawFixed) 1949if (_drawMode == DrawMode.OwnerDrawVariable) 2167return ItemHeight != DefaultListBoxItemHeight && _drawMode != DrawMode.Normal; 2379if (_drawMode == DrawMode.OwnerDrawVariable && mis->itemID >= 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
339DrawMode = 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)
180DrawMode = DrawMode.OwnerDrawFixed, 194DrawMode = DrawMode.OwnerDrawFixed,
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
27DrawMode = 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;