8 writes to BackColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
298
set => SubItems[0].
BackColor
= value;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListViewItemConverterTests.cs (1)
59
BackColor
= Color.Blue
System\Windows\Forms\ListViewSubItemTests.cs (6)
144
BackColor
= value
149
subItem.
BackColor
= value;
175
subItem.
BackColor
= value;
179
subItem.
BackColor
= value;
194
subItem.
BackColor
= value;
198
subItem.
BackColor
= value;
31 references to BackColor
System.Windows.Forms (5)
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (1)
96
Color backColor = ItemIndex == -1 ? Item!.BackColor : SubItem!.
BackColor
;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2809
subItemBackColor = item.SubItems[subitem].
BackColor
;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
295
return _subItems[0].
BackColor
;
894
subItem.
BackColor
,
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
49
item.
BackColor
,
System.Windows.Forms.Tests (26)
SerializableTypesTests.cs (1)
238
Assert.Equal(Color.Black, result.
BackColor
);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (3)
274
Assert.Equal(expectedBackColor, subItem.
BackColor
);
404
Assert.Equal(expectedBackColor, collection[0].
BackColor
);
408
Assert.Equal(expectedBackColor, collection[1].
BackColor
);
System\Windows\Forms\ListViewSubItemTests.cs (22)
17
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
43
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
69
Assert.Equal(expectedBackColor, subItem.
BackColor
);
89
Assert.Equal(Color.Red, subItem.
BackColor
);
93
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
104
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
108
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
125
Assert.Equal(Color.Red, subItem.
BackColor
);
129
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
146
Assert.Equal(expected, subItem.
BackColor
);
150
Assert.Equal(expected, subItem.
BackColor
);
176
Assert.Equal(expected, subItem.
BackColor
);
180
Assert.Equal(expected, subItem.
BackColor
);
195
Assert.Equal(expected, subItem.
BackColor
);
199
Assert.Equal(expected, subItem.
BackColor
);
229
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
542
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
547
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
559
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
564
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
590
Assert.Equal(subItem.
BackColor
, result.
BackColor
);