Implemented interface member:
17 references to Count
System.Windows.Forms.Tests (15)
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (14)
35
propertyTabCollection.
Count
.Should().Be(1); // PropertyGrid initially contains one PropertiesTab
58
int initialCount = propertyTabCollection.
Count
;
66
propertyTabCollection.
Count
.Should().Be(expectedCount);
67
if (propertyTabCollection.
Count
> initialCount)
76
int initialCount = _propertyTabCollection.
Count
;
79
_propertyTabCollection.
Count
.Should().Be(initialCount + 1);
86
int initialCount = _propertyTabCollection.
Count
;
89
_propertyTabCollection.
Count
.Should().Be(initialCount + 1);
97
int countAfterAdd = _propertyTabCollection.
Count
;
101
_propertyTabCollection.
Count
.Should().Be(countAfterAdd - 1);
109
int countAfterAdd = _propertyTabCollection.
Count
;
113
_propertyTabCollection.
Count
.Should().BeLessThan(countAfterAdd);
120
PropertyTab[] array = new PropertyTab[_propertyTabCollection.
Count
];
140
count.Should().Be(_propertyTabCollection.
Count
);
System\Windows\Forms\PropertyGridTests.cs (1)
2370
Assert.Equal(2, grid.PropertyTabs.
Count
);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
472
int initialTabCount = initialTabs.
Count
;
476
int refreshedTabCount = refreshedTabs.
Count
;