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