Implemented interface member:
10 references to Count
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (3)
842
if (_itemsCollection is not null && SelectedItems.
Count
> 0)
941
if (SelectedItems.
Count
> 0)
1793
if (_selectedItems.
Count
> 0 && _selectionMode == SelectionMode.One)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (1)
28
return _owner.SelectedItems.
Count
;
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (3)
808
if (_listBox.SelectedItems.
Count
> 1)
1050
items = new object[_listBox.SelectedItems.
Count
];
1057
int selectedItemCount = _listBox.SelectedItems.
Count
;
System.Windows.Forms.Tests (3)
System\Windows\Forms\ListBoxTests.cs (3)
6170
Assert.Equal(2, listBox.SelectedItems.
Count
);
6178
Assert.Equal(2, listBox.SelectedItems.
Count
);
6186
Assert.Equal(2, listBox.SelectedItems.
Count
);