Base:
property
BackColor
System.Windows.Forms.Control.BackColor
14 writes to BackColor
System.Windows.Forms.Tests (14)
System\Windows\Forms\ListViewItemTests.cs (1)
859
BackColor
= value
System\Windows\Forms\ListViewSubItemTests.cs (3)
83
BackColor
= Color.Red
116
BackColor
= Color.Red
165
BackColor
= Color.Red
System\Windows\Forms\ListViewTests.cs (10)
462
BackColor
= value
468
control.
BackColor
= value;
492
control.
BackColor
= value;
500
control.
BackColor
= value;
514
control.
BackColor
= Color.FromArgb(0xFF, 0x12, 0x34, 0x56);
532
control.
BackColor
= Color.Red;
537
control.
BackColor
= Color.Red;
542
control.
BackColor
= Color.Empty;
548
control.
BackColor
= Color.Red;
1844
BackColor
= Color.FromArgb(0xFF, 0x12, 0x34, 0x56)
16 references to BackColor
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.cs (5)
354
PInvokeCore.SendMessage(this, PInvoke.LVM_SETBKCOLOR, (WPARAM)0, (LPARAM)
BackColor
);
2597
_odCacheBackColor =
BackColor
;
4545
PInvokeCore.SendMessage(this, PInvoke.LVM_SETBKCOLOR, (WPARAM)0, (LPARAM)
BackColor
);
4876
PInvokeCore.SendMessage(this, PInvoke.LVM_SETBKCOLOR, (WPARAM)0, (LPARAM)
BackColor
);
4937
c =
BackColor
;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
288
return _listView.
BackColor
;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (1)
80
return _owner?._listView?.
BackColor
?? SystemColors.Window;
System.Windows.Forms.Tests (9)
System\Windows\Forms\ListViewTests.cs (9)
33
Assert.Equal(SystemColors.Window, control.
BackColor
);
464
Assert.Equal(expected, control.
BackColor
);
469
Assert.Equal(expected, control.
BackColor
);
493
Assert.Equal(expected, control.
BackColor
);
501
Assert.Equal(expected, control.
BackColor
);
533
Assert.Equal(Color.Red, control.
BackColor
);
538
Assert.Equal(Color.Red, control.
BackColor
);
543
Assert.Equal(SystemColors.Window, control.
BackColor
);
549
Assert.Equal(Color.Red, control.
BackColor
);