9 writes to ForeColor
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
424_propBag.ForeColor = Color.Empty; 440_propBag.ForeColor = value;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2892retval.ForeColor = node._propBag.ForeColor;
System\Windows\Forms\OwnerDrawPropertyBag.cs (2)
28ForeColor = (Color)entry.Value!; 80result.ForeColor = value.ForeColor;
System.Windows.Forms.Tests (4)
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (4)
64bag.ForeColor = value; 69bag.ForeColor = value; 81value.ForeColor = Color.Red; 112original.ForeColor = Color.Red;
14 references to ForeColor
System.Windows.Forms (8)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
413return _propBag.ForeColor;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2783Color riFore = renderinfo.ForeColor; 2892retval.ForeColor = node._propBag.ForeColor;
System\Windows\Forms\OwnerDrawPropertyBag.cs (5)
26else if (entry.Name == nameof(ForeColor)) 64public virtual bool IsEmpty() => Font is null && ForeColor.IsEmpty && BackColor.IsEmpty; 80result.ForeColor = value.ForeColor; 89si.AddValue(nameof(ForeColor), ForeColor);
System.Windows.Forms.Tests (6)
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (6)
19Assert.Equal(Color.Empty, bag.ForeColor); 65Assert.Equal(value, bag.ForeColor); 70Assert.Equal(value, bag.ForeColor); 87Assert.Equal(Color.Red, bag.ForeColor); 100Assert.Equal(Color.Empty, bag.ForeColor); 126Assert.Equal(Color.Red, bag.ForeColor);