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