18 writes to BackColor
System.Windows.Forms.Tests (18)
SerializableTypesTests.cs (1)
352
BackColor
= Color.Yellow, // Colors and Font are serialized into the property bag.
System\Windows\Forms\TreeNodeTests.cs (17)
267
BackColor
= value
272
node.
BackColor
= value;
284
node.
BackColor
= value;
289
node.
BackColor
= value;
315
node.
BackColor
= value;
323
node.
BackColor
= value;
344
BackColor
= Color.Blue
347
node.
BackColor
= value;
351
node.
BackColor
= value;
362
BackColor
= Color.Blue
366
node.
BackColor
= value;
371
node.
BackColor
= value;
390
BackColor
= Color.Blue
401
node.
BackColor
= value;
409
node.
BackColor
= value;
424
node.
BackColor
= Color.Red;
440
node.
BackColor
= Color.Red;
27 references to BackColor
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
191
Color oldbk =
BackColor
;
2040
return
BackColor
!= Color.Empty;
System.Windows.Forms.Tests (25)
SerializableTypesTests.cs (1)
378
Assert.Equal(Color.Yellow, result.
BackColor
);
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
19
Assert.Equal(Color.Empty, treeNode.
BackColor
);
System\Windows\Forms\TreeNodeTests.cs (23)
17
Assert.Equal(Color.Empty, node.
BackColor
);
57
Assert.Equal(Color.Empty, node.
BackColor
);
105
Assert.Equal(Color.Empty, node.
BackColor
);
148
Assert.Equal(Color.Empty, node.
BackColor
);
196
Assert.Equal(Color.Empty, node.
BackColor
);
269
Assert.Equal(value, node.
BackColor
);
273
Assert.Equal(value, node.
BackColor
);
285
Assert.Equal(value, node.
BackColor
);
290
Assert.Equal(value, node.
BackColor
);
316
Assert.Equal(value, node.
BackColor
);
324
Assert.Equal(value, node.
BackColor
);
348
Assert.Equal(value, node.
BackColor
);
352
Assert.Equal(value, node.
BackColor
);
367
Assert.Equal(value, node.
BackColor
);
372
Assert.Equal(value, node.
BackColor
);
402
Assert.Equal(value, node.
BackColor
);
410
Assert.Equal(value, node.
BackColor
);
420
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(TreeNode))[nameof(TreeNode.
BackColor
)];
425
Assert.Equal(Color.Red, node.
BackColor
);
429
Assert.Equal(Color.Red, node.
BackColor
);
436
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(TreeNode))[nameof(TreeNode.
BackColor
)];
441
Assert.Equal(Color.Red, node.
BackColor
);
445
Assert.Equal(Color.Red, node.
BackColor
);