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