Implemented interface members:
55 references to Count
System.Windows.Forms (54)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (13)
192
public int ChildCount => Children.
Count
;
263
if (expandable && _children is not null && _children.
Count
> 0)
297
if (_children is null || _children.
Count
== 0)
311
if (_children is not null && _children.
Count
> 0)
512
if (IsExpandable && _children is not null && _children.
Count
== 0)
689
for (int i = 0; i < _children.
Count
; i++)
852
for (int i = 0; i < ChildCollection.
Count
; i++)
933
if (!useExistingChildren && _children is not null && _children.
Count
> 0)
942
if (useExistingChildren && _children is not null && _children.
Count
> 0)
945
if (childProperties is not null && childProperties.Length == _children.
Count
)
1026
if (_children?.
Count
> 0)
2251
bool childrenPrior = _children is not null && _children.
Count
> 0;
2254
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)
419
private bool HasEntries => TopLevelGridEntries is not null && TopLevelGridEntries.
Count
> 0;
656
for (int index = 0; index < entries.
Count
; ++index)
682
count = entries.
Count
- startIndex;
730
count = entries.
Count
- startIndex;
944
int propertyCount = entries.
Count
;
945
for (int i = 0; i < entries.
Count
; i++)
1369
if (_allGridEntries is null || _allGridEntries.
Count
<= 0)
1374
for (int i = 0; i < _allGridEntries.
Count
; i++)
1613
if (gridEntries is null || gridEntries.
Count
== 0)
1620
if (allGridEntries is null || allGridEntries.
Count
== 0)
1627
int count = allGridEntries.
Count
;
1629
for (int i = 0; i < gridEntries.
Count
; i++)
1653
for (; row < allGridEntries!.
Count
&& ((row - start) <= count); row++)
1838
if (offset >= 0 && offset < allGridEntries.
Count
)
1849
if (entries is null || entries.
Count
== 0)
1856
for (int i = 0; i < entries.
Count
; i++)
1873
if (childEntries.
Count
> 0)
1950
for (int i = 0; i < allGridEntries.
Count
; i++)
2839
SelectGridEntry(allEntries[keyCode == Keys.Home ? 0 : allEntries.
Count
- 1], pageIn: true);
3558
var entries = new GridEntry[_allGridEntries!.
Count
];
3599
int childCount = children.
Count
;
3988
for (int i = 0; i < children.
Count
; i++)
4053
object? oldObject = TopLevelGridEntries is null || TopLevelGridEntries.
Count
== 0
4097
object? newObject = TopLevelGridEntries is null || TopLevelGridEntries.
Count
== 0
4188
for (int i = 0; i < entries.
Count
; i++)
4484
if ((scroll + _visibleRows) >= rgipesAll.
Count
)
4486
_visibleRows = rgipesAll.
Count
- scroll;
4797
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
}";