16 writes to DrawMode
System.Windows.Forms.Tests (16)
System\Windows\Forms\TreeViewTests.cs (16)
1322DrawMode = value 1327control.DrawMode = value; 1338treeView.DrawMode = value; 1342treeView.DrawMode = value; 1351DrawMode = TreeViewDrawMode.Normal 1371treeView.DrawMode = TreeViewDrawMode.OwnerDrawText; 1377treeView.DrawMode = TreeViewDrawMode.OwnerDrawText; 1383treeView.DrawMode = TreeViewDrawMode.OwnerDrawAll; 1391treeView.DrawMode = TreeViewDrawMode.Normal; 1402DrawMode = TreeViewDrawMode.Normal 1423treeView.DrawMode = TreeViewDrawMode.OwnerDrawText; 1429treeView.DrawMode = TreeViewDrawMode.OwnerDrawText; 1435treeView.DrawMode = TreeViewDrawMode.OwnerDrawAll; 1443treeView.DrawMode = TreeViewDrawMode.Normal; 1454Assert.Throws<InvalidEnumArgumentException>("value", () => treeView.DrawMode = value); 2727DrawMode = drawMode
16 references to DrawMode
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
785if (CheckBoxes && (DrawMode == TreeViewDrawMode.OwnerDrawAll)) 916if (DrawMode == TreeViewDrawMode.OwnerDrawAll) 3180if (DrawMode == TreeViewDrawMode.OwnerDrawAll)
System.Windows.Forms.Tests (13)
System\Windows\Forms\TreeViewTests.cs (13)
60Assert.Equal(TreeViewDrawMode.Normal, control.DrawMode); 1324Assert.Equal(value, control.DrawMode); 1328Assert.Equal(value, control.DrawMode); 1339Assert.Equal(value, treeView.DrawMode); 1343Assert.Equal(value, treeView.DrawMode); 1372Assert.Equal(TreeViewDrawMode.OwnerDrawText, treeView.DrawMode); 1378Assert.Equal(TreeViewDrawMode.OwnerDrawText, treeView.DrawMode); 1384Assert.Equal(TreeViewDrawMode.OwnerDrawAll, treeView.DrawMode); 1392Assert.Equal(TreeViewDrawMode.Normal, treeView.DrawMode); 1424Assert.Equal(TreeViewDrawMode.OwnerDrawText, treeView.DrawMode); 1430Assert.Equal(TreeViewDrawMode.OwnerDrawText, treeView.DrawMode); 1436Assert.Equal(TreeViewDrawMode.OwnerDrawAll, treeView.DrawMode); 1444Assert.Equal(TreeViewDrawMode.Normal, treeView.DrawMode);