Implemented interface member:
20 references to Count
System.Windows.Forms (9)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
1925
if (value && SelectedItems.
Count
> 0)
4676
ListViewItem[] lviArr = new ListViewItem[SelectedItems.
Count
];
6691
if ((lvkd->wVKey == (short)Keys.Down || lvkd->wVKey == (short)Keys.Up) && SelectedItems.
Count
> 0)
6919
if (GroupsDisplayed && (key is VIRTUAL_KEY.VK_LEFT or VIRTUAL_KEY.VK_RIGHT) && SelectedItems.
Count
> 0)
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (5)
122
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
Count
);
247
return (index >= 0) && (index <
Count
);
326
if (
Count
> 0)
328
Array.Copy(SelectedItemArray, 0, dest, index,
Count
);
412
for (int i = 0; i <
Count
; i++)
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\MaskDesignerDialog.cs (3)
486
if (_listViewCannedMasks.SelectedItems.
Count
> 0)
615
if (_listViewCannedMasks.SelectedItems.
Count
== 0)
709
if (_listViewCannedMasks.SelectedItems.
Count
!= 0)
System\Windows\Forms\Design\StyleEditorForm.cs (4)
638
if (coll.
Count
== 0)
655
_removeButton.Enabled = coll.
Count
!= _columnsAndRowsListView.Items.Count && _columnsAndRowsListView.Items.Count > 1;
657
if (coll.
Count
== 1)
681
for (int i = 1; i < coll.
Count
; i++)
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
841
Assert.Equal(3, listView.SelectedItems.
Count
);
System\Windows\Forms\ListViewTests.cs (3)
4522
Assert.Equal(selectItems ? 2 : 0, control.SelectedItems.
Count
);
5704
Assert.Equal(selectedCount, listView.SelectedItems.
Count
);
5714
Assert.Equal(selectedCount, listView.SelectedItems.
Count
);