12 references to OwnerDrawAll
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
785if (CheckBoxes && (DrawMode == TreeViewDrawMode.OwnerDrawAll)) 916if (DrawMode == TreeViewDrawMode.OwnerDrawAll) 2745else if (_drawMode == TreeViewDrawMode.OwnerDrawAll) 3184if (DrawMode == TreeViewDrawMode.OwnerDrawAll)
System.Windows.Forms.Tests (8)
System\Windows\Forms\TreeViewTests.cs (8)
1383treeView.DrawMode = TreeViewDrawMode.OwnerDrawAll; 1384Assert.Equal(TreeViewDrawMode.OwnerDrawAll, treeView.DrawMode); 1435treeView.DrawMode = TreeViewDrawMode.OwnerDrawAll; 1436Assert.Equal(TreeViewDrawMode.OwnerDrawAll, treeView.DrawMode); 2705yield return new object[] { font, true, TreeViewDrawMode.OwnerDrawAll, font.Height + 3 }; 2708yield return new object[] { font, false, TreeViewDrawMode.OwnerDrawAll, font.Height + 3 }; 2713yield return new object[] { smallFont, true, TreeViewDrawMode.OwnerDrawAll, 16 }; 2716yield return new object[] { smallFont, false, TreeViewDrawMode.OwnerDrawAll, smallFont.Height + 3 };