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