Implemented interface member:
16 references to Count
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
602if ((HasItems || CreateItemsFromDataSource) && Items.Count > 0) 654if (HasItems && DataSource is null && Items.Count > 0) 1014if (Items.Count > 0) 1292if (HasItems && DataSource is null && Items.Count > 0)
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataGridViewComboBoxCell.ObjectCollectionTests.cs (12)
22_collection.Count.Should().Be(0); 26_collection.Count.Should().Be(2); 31_collection.Count.Should().Be(1); 36_collection.Count.Should().Be(1); 40_collection.Count.Should().Be(0); 58_collection.Count.Should().Be(2); 78_collection.Count.Should().Be(3); 92_collection.Count.Should().Be(3); 119_collection.Count.Should().Be(0); 176_collection.Count.Should().Be(0); 323_collection.Count.Should().Be(1); 337_collection.Count.Should().Be(1);