Implemented interface member:
19 references to Count
System.Windows.Forms (8)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
4846if (SelectedIndices.Count == 0)
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
249var selectedItemProviders = new IRawElementProviderSimple.Interface[owningListView.SelectedIndices.Count];
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (6)
50int count = Count; 98ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, Count); 265return Count; 277return Count; 296if (Count > 0) 298Array.Copy(IndicesArray, 0, dest, index, Count);
System.Windows.Forms.Tests (10)
System\Windows\Forms\ListViewTests.cs (10)
5535Assert.Equal(1, listView.SelectedIndices.Count); 5542Assert.Equal(1, listView.SelectedIndices.Count); 5550Assert.Equal(1, listView.SelectedIndices.Count); 5571Assert.Equal(1, listView.SelectedIndices.Count); 5580Assert.Equal(0, listView.SelectedIndices.Count); 5661Assert.Equal(1, listView.SelectedIndices.Count); 5669Assert.Equal(1, listView.SelectedIndices.Count); 5678Assert.Equal(1, listView.SelectedIndices.Count); 5705Assert.Equal(selectedCount, listView.SelectedIndices.Count); 5715Assert.Equal(selectedCount, listView.SelectedIndices.Count);
WinFormsControlsTest (1)
ListViewTest.cs (1)
265if (listView1.SelectedIndices.Count != 1)