9 writes to BackColor
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
198
_propBag.
BackColor
= Color.Empty;
214
_propBag.
BackColor
= value;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2897
retval.
BackColor
= node._propBag.BackColor;
System\Windows\Forms\OwnerDrawPropertyBag.cs (2)
32
BackColor
= (Color)entry.Value!;
79
result.
BackColor
= value.BackColor;
System.Windows.Forms.Tests (4)
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (4)
30
bag.
BackColor
= value;
35
bag.
BackColor
= value;
79
value.
BackColor
= Color.Blue;
110
original.
BackColor
= Color.Blue;
14 references to BackColor
System.Windows.Forms (8)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
186
return _propBag.
BackColor
;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2788
Color riBack = renderinfo.
BackColor
;
2897
retval.BackColor = node._propBag.
BackColor
;
System\Windows\Forms\OwnerDrawPropertyBag.cs (5)
30
else if (entry.Name == nameof(
BackColor
))
64
public virtual bool IsEmpty() => Font is null && ForeColor.IsEmpty &&
BackColor
.IsEmpty;
79
result.BackColor = value.
BackColor
;
88
si.AddValue(nameof(
BackColor
),
BackColor
);
System.Windows.Forms.Tests (6)
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (6)
17
Assert.Equal(Color.Empty, bag.
BackColor
);
31
Assert.Equal(value, bag.
BackColor
);
36
Assert.Equal(value, bag.
BackColor
);
85
Assert.Equal(Color.Blue, bag.
BackColor
);
98
Assert.Equal(Color.Empty, bag.
BackColor
);
124
Assert.Equal(Color.Blue, bag.
BackColor
);