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