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)
145
BackColor
= value
150
subItem.
BackColor
= value;
176
subItem.
BackColor
= value;
180
subItem.
BackColor
= value;
195
subItem.
BackColor
= value;
199
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)
2805
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)
275
Assert.Equal(expectedBackColor, subItem.
BackColor
);
405
Assert.Equal(expectedBackColor, collection[0].
BackColor
);
409
Assert.Equal(expectedBackColor, collection[1].
BackColor
);
System\Windows\Forms\ListViewSubItemTests.cs (22)
17
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
44
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
70
Assert.Equal(expectedBackColor, subItem.
BackColor
);
90
Assert.Equal(Color.Red, subItem.
BackColor
);
94
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
105
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
109
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
126
Assert.Equal(Color.Red, subItem.
BackColor
);
130
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
147
Assert.Equal(expected, subItem.
BackColor
);
151
Assert.Equal(expected, subItem.
BackColor
);
177
Assert.Equal(expected, subItem.
BackColor
);
181
Assert.Equal(expected, subItem.
BackColor
);
196
Assert.Equal(expected, subItem.
BackColor
);
200
Assert.Equal(expected, subItem.
BackColor
);
230
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
543
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
548
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
560
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
565
Assert.Equal(SystemColors.Window, subItem.
BackColor
);
591
Assert.Equal(subItem.
BackColor
, result.
BackColor
);