14 references to OwnerDrawText
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2739
if (_drawMode == TreeViewDrawMode.
OwnerDrawText
)
2815
if (_drawMode == TreeViewDrawMode.
OwnerDrawText
)
System.Windows.Forms.Tests (12)
System\Windows\Forms\TreeViewTests.cs (12)
1371
treeView.DrawMode = TreeViewDrawMode.
OwnerDrawText
;
1372
Assert.Equal(TreeViewDrawMode.
OwnerDrawText
, treeView.DrawMode);
1377
treeView.DrawMode = TreeViewDrawMode.
OwnerDrawText
;
1378
Assert.Equal(TreeViewDrawMode.
OwnerDrawText
, treeView.DrawMode);
1423
treeView.DrawMode = TreeViewDrawMode.
OwnerDrawText
;
1424
Assert.Equal(TreeViewDrawMode.
OwnerDrawText
, treeView.DrawMode);
1429
treeView.DrawMode = TreeViewDrawMode.
OwnerDrawText
;
1430
Assert.Equal(TreeViewDrawMode.
OwnerDrawText
, treeView.DrawMode);
2704
yield return new object[] { font, true, TreeViewDrawMode.
OwnerDrawText
, font.Height + 3 };
2707
yield return new object[] { font, false, TreeViewDrawMode.
OwnerDrawText
, font.Height + 3 };
2712
yield return new object[] { smallFont, true, TreeViewDrawMode.
OwnerDrawText
, smallFont.Height + 3 };
2715
yield return new object[] { smallFont, false, TreeViewDrawMode.
OwnerDrawText
, smallFont.Height + 3 };