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