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