50 references to OwnerDrawFixed
System.Windows.Forms (8)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
361case DrawMode.OwnerDrawFixed: 580if (drawMode == DrawMode.OwnerDrawFixed || 3387if (DrawMode == DrawMode.OwnerDrawFixed)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
328case DrawMode.OwnerDrawFixed: 579if (_drawMode is DrawMode.OwnerDrawFixed or DrawMode.OwnerDrawVariable) 595if (_drawMode == DrawMode.OwnerDrawFixed && IsHandleCreated) 1754if (_drawMode == DrawMode.OwnerDrawFixed)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
316DrawMode = 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)
180DrawMode = DrawMode.OwnerDrawFixed, 194DrawMode = DrawMode.OwnerDrawFixed,
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
24DrawMode = DrawMode.OwnerDrawFixed;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
523_selectedColumns.DrawMode = DrawMode.OwnerDrawFixed;
System.Windows.Forms.Tests (33)
CheckedListBoxTests.cs (1)
84box.DrawMode = DrawMode.OwnerDrawFixed;
System\Windows\Forms\ComboBoxTests.cs (1)
2616[InlineData(DrawMode.OwnerDrawFixed)]
System\Windows\Forms\ListBoxTests.cs (31)
322[InlineData(DrawMode.OwnerDrawFixed, 0x562100D1)] 877yield return new object[] { autoSize, true, DrawMode.OwnerDrawFixed }; 878yield return new object[] { autoSize, false, DrawMode.OwnerDrawFixed }; 915yield return new object[] { true, true, DrawMode.OwnerDrawFixed, 0 }; 916yield return new object[] { true, false, DrawMode.OwnerDrawFixed, 0 }; 917yield return new object[] { false, true, DrawMode.OwnerDrawFixed, 0 }; 918yield return new object[] { false, false, DrawMode.OwnerDrawFixed, 0 }; 978yield return new object[] { autoSize, true, DrawMode.OwnerDrawFixed, 1 }; 979yield return new object[] { autoSize, false, DrawMode.OwnerDrawFixed, 1 }; 1744yield return new object[] { DrawMode.OwnerDrawFixed, integralHeight, 1, 1 }; 1745yield return new object[] { DrawMode.OwnerDrawFixed, integralHeight, Control.DefaultFont.Height, 0 }; 1746yield return new object[] { DrawMode.OwnerDrawFixed, integralHeight, 255, 1 }; 1790[InlineData(DrawMode.OwnerDrawFixed, true)] 1876yield return new object[] { DrawMode.OwnerDrawFixed, true }; 1877yield return new object[] { DrawMode.OwnerDrawFixed, false }; 1907yield return new object[] { DrawMode.OwnerDrawFixed, true, 1 }; 1908yield return new object[] { DrawMode.OwnerDrawFixed, false, 0 }; 2055yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.Fixed3D, Control.DefaultFont.Height + extra }; 2056yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.FixedSingle, Control.DefaultFont.Height + extra }; 2057yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None, Control.DefaultFont.Height }; 2084yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.Fixed3D, (Control.DefaultFont.Height * 2) + extra }; 2085yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.FixedSingle, (Control.DefaultFont.Height * 2) + extra }; 2086yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None, (Control.DefaultFont.Height * 2) }; 2114yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.Fixed3D }; 2115yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.FixedSingle }; 2116yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None }; 5178[InlineData(DrawMode.OwnerDrawFixed)] 5231yield return new object[] { DrawMode.OwnerDrawFixed, 0, 0, 0, 0 }; 5232yield return new object[] { DrawMode.OwnerDrawFixed, 1, 0, -2, -2 }; 5233yield return new object[] { DrawMode.OwnerDrawFixed, 0, 0, 10, 10 }; 6284[InlineData(DrawMode.OwnerDrawFixed, false)]
WinFormsControlsTest (4)
ComboBoxesWithScrollBars.cs (3)
84comboBox1.DrawMode = DrawMode.OwnerDrawFixed; 100comboBox2.DrawMode = DrawMode.OwnerDrawFixed; 119comboBox3.DrawMode = DrawMode.OwnerDrawFixed;
ListBoxes.Designer.cs (1)
136this.listBox3.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;