Implemented interface members:
55 references to Count
System.Windows.Forms (54)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (13)
192public int ChildCount => Children.Count; 263if (expandable && _children is not null && _children.Count > 0) 297if (_children is null || _children.Count == 0) 311if (_children is not null && _children.Count > 0) 512if (IsExpandable && _children is not null && _children.Count == 0) 689for (int i = 0; i < _children.Count; i++) 852for (int i = 0; i < ChildCollection.Count; i++) 933if (!useExistingChildren && _children is not null && _children.Count > 0) 942if (useExistingChildren && _children is not null && _children.Count > 0) 945if (childProperties is not null && childProperties.Length == _children.Count) 1026if (_children?.Count > 0) 2251bool childrenPrior = _children is not null && _children.Count > 0; 2254bool childrenAfter = _children is not null && _children.Count > 0;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
185for (int i = 0; i < topLevelGridEntries.Count; i++)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (2)
71if (expandable && ChildCollection.Count > 0) 137bool expandable = Children.Count > 0;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
74bool expandable = Children.Count > 0;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (28)
419private bool HasEntries => TopLevelGridEntries is not null && TopLevelGridEntries.Count > 0; 656for (int index = 0; index < entries.Count; ++index) 682count = entries.Count - startIndex; 730count = entries.Count - startIndex; 944int propertyCount = entries.Count; 945for (int i = 0; i < entries.Count; i++) 1363if (_allGridEntries is null || _allGridEntries.Count <= 0) 1368for (int i = 0; i < _allGridEntries.Count; i++) 1607if (gridEntries is null || gridEntries.Count == 0) 1614if (allGridEntries is null || allGridEntries.Count == 0) 1621int count = allGridEntries.Count; 1623for (int i = 0; i < gridEntries.Count; i++) 1647for (; row < allGridEntries!.Count && ((row - start) <= count); row++) 1832if (offset >= 0 && offset < allGridEntries.Count) 1843if (entries is null || entries.Count == 0) 1850for (int i = 0; i < entries.Count; i++) 1867if (childEntries.Count > 0) 1944for (int i = 0; i < allGridEntries.Count; i++) 2833SelectGridEntry(allEntries[keyCode == Keys.Home ? 0 : allEntries.Count - 1], pageIn: true); 3546var entries = new GridEntry[_allGridEntries!.Count]; 3587int childCount = children.Count; 3976for (int i = 0; i < children.Count; i++) 4041object? oldObject = TopLevelGridEntries is null || TopLevelGridEntries.Count == 0 4085object? newObject = TopLevelGridEntries is null || TopLevelGridEntries.Count == 0 4176for (int i = 0; i < entries.Count; i++) 4472if ((scroll + _visibleRows) >= rgipesAll.Count) 4474_visibleRows = rgipesAll.Count - scroll; 4785if (_allGridEntries?.Count > 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (8)
121if (topLevelGridEntries is not null && topLevelGridEntries.Count > 0) 134=> !this.TryGetOwnerAs(out PropertyGridView? owner) ? null : GetCategory(owner.TopLevelGridEntries!.Count - 1); 260if (subGridEntry.Count > 0) 291if (subGridEntry.Count > 0) 296GetGridEntriesFromOutline(subGridEntry, 0, subGridEntry.Count - 1, targetEntries); 387if (properties is not null && index >= 0 && index < properties.Count) 401? entries.Count 482return topLevelGridEntries.Count;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
243if (Children.Count == 0 || (_propertySort & PropertySort.Categorized) == 0)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
116private string DebuggerDisplay => $"Count: {Count}";