20 references to CheckedItems
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.cs (7)
461
_savedCheckedItems = new List<ListViewItem>(
CheckedItems
.Count);
462
ListViewItem[] items = new ListViewItem[
CheckedItems
.Count];
463
CheckedItems
.CopyTo(items, 0);
506
_savedCheckedItems = new List<ListViewItem>(
CheckedItems
.Count);
507
ListViewItem[] items = new ListViewItem[
CheckedItems
.Count];
508
CheckedItems
.CopyTo(items, 0);
1920
if (value &&
CheckedItems
.Count > 0)
System.Windows.Forms.Tests (13)
System\Windows\Forms\ListViewTests.cs (13)
50
Assert.Empty(control.
CheckedItems
);
51
Assert.Same(control.
CheckedItems
, control.
CheckedItems
);
5596
Assert.Single(listView.
CheckedItems
);
5603
Assert.Single(listView.
CheckedItems
);
5610
Assert.Single(listView.
CheckedItems
);
5630
Assert.Single(listView.
CheckedItems
);
5639
Assert.Empty(listView.
CheckedItems
);
5735
Assert.Single(listView.
CheckedItems
);
5743
Assert.Single(listView.
CheckedItems
);
5751
Assert.Single(listView.
CheckedItems
);
5777
Assert.Equal(selectedCount, listView.
CheckedItems
.Count);
5787
Assert.Equal(selectedCount, listView.
CheckedItems
.Count);