Implemented interface members:
55 references to Count
System.Windows.Forms (54)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (13)
195public int ChildCount => Children.Count; 266if (expandable && _children is not null && _children.Count > 0) 300if (_children is null || _children.Count == 0) 314if (_children is not null && _children.Count > 0) 515if (IsExpandable && _children is not null && _children.Count == 0) 692for (int i = 0; i < _children.Count; i++) 855for (int i = 0; i < ChildCollection.Count; i++) 936if (!useExistingChildren && _children is not null && _children.Count > 0) 945if (useExistingChildren && _children is not null && _children.Count > 0) 948if (childProperties is not null && childProperties.Length == _children.Count) 1029if (_children?.Count > 0) 2254bool childrenPrior = _children is not null && _children.Count > 0; 2257bool 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)
396private bool HasEntries => TopLevelGridEntries is not null && TopLevelGridEntries.Count > 0; 633for (int index = 0; index < entries.Count; ++index) 659count = entries.Count - startIndex; 707count = entries.Count - startIndex; 921int propertyCount = entries.Count; 922for (int i = 0; i < entries.Count; i++) 1340if (_allGridEntries is null || _allGridEntries.Count <= 0) 1345for (int i = 0; i < _allGridEntries.Count; i++) 1584if (gridEntries is null || gridEntries.Count == 0) 1591if (allGridEntries is null || allGridEntries.Count == 0) 1598int count = allGridEntries.Count; 1600for (int i = 0; i < gridEntries.Count; i++) 1624for (; row < allGridEntries!.Count && ((row - start) <= count); row++) 1809if (offset >= 0 && offset < allGridEntries.Count) 1820if (entries is null || entries.Count == 0) 1827for (int i = 0; i < entries.Count; i++) 1844if (childEntries.Count > 0) 1921for (int i = 0; i < allGridEntries.Count; i++) 2810SelectGridEntry(allEntries[keyCode == Keys.Home ? 0 : allEntries.Count - 1], pageIn: true); 3523var entries = new GridEntry[_allGridEntries!.Count]; 3564int childCount = children.Count; 3953for (int i = 0; i < children.Count; i++) 4018object? oldObject = TopLevelGridEntries is null || TopLevelGridEntries.Count == 0 4062object? newObject = TopLevelGridEntries is null || TopLevelGridEntries.Count == 0 4153for (int i = 0; i < entries.Count; i++) 4449if ((scroll + _visibleRows) >= rgipesAll.Count) 4451_visibleRows = rgipesAll.Count - scroll; 4762if (_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}";