Implemented interface members:
55 references to Count
System.Windows.Forms (54)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (13)
195
public int ChildCount => Children.
Count
;
266
if (expandable && _children is not null && _children.
Count
> 0)
300
if (_children is null || _children.
Count
== 0)
314
if (_children is not null && _children.
Count
> 0)
515
if (IsExpandable && _children is not null && _children.
Count
== 0)
692
for (int i = 0; i < _children.
Count
; i++)
855
for (int i = 0; i < ChildCollection.
Count
; i++)
936
if (!useExistingChildren && _children is not null && _children.
Count
> 0)
945
if (useExistingChildren && _children is not null && _children.
Count
> 0)
948
if (childProperties is not null && childProperties.Length == _children.
Count
)
1029
if (_children?.
Count
> 0)
2254
bool childrenPrior = _children is not null && _children.
Count
> 0;
2257
bool childrenAfter = _children is not null && _children.
Count
> 0;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
185
for (int i = 0; i < topLevelGridEntries.
Count
; i++)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (2)
71
if (expandable && ChildCollection.
Count
> 0)
137
bool expandable = Children.
Count
> 0;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
74
bool expandable = Children.
Count
> 0;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (28)
396
private bool HasEntries => TopLevelGridEntries is not null && TopLevelGridEntries.
Count
> 0;
633
for (int index = 0; index < entries.
Count
; ++index)
659
count = entries.
Count
- startIndex;
707
count = entries.
Count
- startIndex;
921
int propertyCount = entries.
Count
;
922
for (int i = 0; i < entries.
Count
; i++)
1340
if (_allGridEntries is null || _allGridEntries.
Count
<= 0)
1345
for (int i = 0; i < _allGridEntries.
Count
; i++)
1584
if (gridEntries is null || gridEntries.
Count
== 0)
1591
if (allGridEntries is null || allGridEntries.
Count
== 0)
1598
int count = allGridEntries.
Count
;
1600
for (int i = 0; i < gridEntries.
Count
; i++)
1624
for (; row < allGridEntries!.
Count
&& ((row - start) <= count); row++)
1809
if (offset >= 0 && offset < allGridEntries.
Count
)
1820
if (entries is null || entries.
Count
== 0)
1827
for (int i = 0; i < entries.
Count
; i++)
1844
if (childEntries.
Count
> 0)
1921
for (int i = 0; i < allGridEntries.
Count
; i++)
2810
SelectGridEntry(allEntries[keyCode == Keys.Home ? 0 : allEntries.
Count
- 1], pageIn: true);
3523
var entries = new GridEntry[_allGridEntries!.
Count
];
3564
int childCount = children.
Count
;
3953
for (int i = 0; i < children.
Count
; i++)
4018
object? oldObject = TopLevelGridEntries is null || TopLevelGridEntries.
Count
== 0
4062
object? newObject = TopLevelGridEntries is null || TopLevelGridEntries.
Count
== 0
4153
for (int i = 0; i < entries.
Count
; i++)
4449
if ((scroll + _visibleRows) >= rgipesAll.
Count
)
4451
_visibleRows = rgipesAll.
Count
- scroll;
4762
if (_allGridEntries?.
Count
> 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (8)
121
if (topLevelGridEntries is not null && topLevelGridEntries.
Count
> 0)
134
=> !this.TryGetOwnerAs(out PropertyGridView? owner) ? null : GetCategory(owner.TopLevelGridEntries!.
Count
- 1);
260
if (subGridEntry.
Count
> 0)
291
if (subGridEntry.
Count
> 0)
296
GetGridEntriesFromOutline(subGridEntry, 0, subGridEntry.
Count
- 1, targetEntries);
387
if (properties is not null && index >= 0 && index < properties.
Count
)
401
? entries.
Count
482
return topLevelGridEntries.
Count
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
243
if (Children.
Count
== 0 || (_propertySort & PropertySort.Categorized) == 0)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
116
private string DebuggerDisplay => $"Count: {
Count
}";