Implemented interface member:
property
Count
System.Collections.ICollection.Count
56 references to Count
System.Windows.Forms (56)
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (12)
330return Children.Count; 402if (fExpandable && childCollection != null && childCollection.Count > 0) { 436if (childCollection == null || childCollection.Count == 0) { 446if (childCollection != null && childCollection.Count > 0) { 632if (IsExpandable && childCollection != null && childCollection.Count == 0) { 858for (int i = 0; i < childCollection.Count; i++) { 1119for (int i = 0; i < ChildCollection.Count; i++) { 1194if (!diffOldChildren && childCollection != null && childCollection.Count > 0) { 1206if (diffOldChildren && childCollection != null && childCollection.Count > 0) { 1208if (childProps.Length == childCollection.Count) { 2642bool fChildrenPrior = (childCollection != null && childCollection.Count > 0); 2645bool fChildrenAfter = (childCollection != null && childCollection.Count > 0);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (2)
64if (fExpandable && ChildCollection.Count > 0) { 119bool fExpandable = this.Children.Count > 0;
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
72bool fExpandable = this.Children.Count > 0;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (38)
490return topLevelGridEntries != null && topLevelGridEntries.Count > 0; 806for(int index = 0; index < ipes.Count; ++index) { 826count = ipeArray.Count - startIndex; 875count = ipeArray.Count - startIndex; 1082int cProps = rgipes.Count; 1083for (int i = 0; i < rgipes.Count; i++) { 1482GridEntry[] targetEntries = new GridEntry[allGridEntries.Count]; 1484GetGridEntriesFromOutline(allGridEntries, 0, allGridEntries.Count - 1, targetEntries); 1575if (allGridEntries != null && allGridEntries.Count > 0) { 1576for (int i = 0; i < allGridEntries.Count; i++) { 1864if (ipeHier == null || ipeHier.Count == 0) 1868if (rgipes == null || rgipes.Count == 0) { 1874int count = rgipes.Count; 1876for (int i = 0; i < ipeHier.Count; i++) { 1887int items = rgipes.Count; 1901for (; row < rgipes.Count && ((row - start) <= count); row++) { 2074if (offset >= 0 && offset < rgipesAll.Count) 2083if (rgipe == null || rgipe.Count == 0) 2088for (int cLocal = 0; cLocal < rgipe.Count; cLocal++) { 2104if (subGridEntry != null && subGridEntry.Count > 0) { 2168for (int i = 0; i < rgipesAll.Count; i++) { 2995int pos2 = (keyCode == Keys.Home ? 0 : rgipes.Count-1); 3714GridEntry[] entries = new GridEntry[allGridEntries.Count]; 3747int childCount = children.Count; 4063for (int i = 0; i < rgipes.Count; i++) 4124object oldObject = topLevelGridEntries == null || topLevelGridEntries.Count == 0 ? null : ((GridEntry)topLevelGridEntries[0]).GetValueOwner(); 4161object newObject = topLevelGridEntries == null || topLevelGridEntries.Count == 0 ? null : ((GridEntry)topLevelGridEntries[0]).GetValueOwner(); 4248for (int i = 0; i < entries.Count; i++) { 4546if ((scroll + visibleRows) >= rgipesAll.Count) { 4547visibleRows = rgipesAll.Count - scroll; 7469var topLevelGridEntriesCount = topLevelGridEntries.Count; 7487var topLevelGridEntriesCount = topLevelGridEntries.Count; 7488return GetCategory(topLevelGridEntries.Count - 1); 7577if (subGridEntry != null && subGridEntry.Count > 0) { 7601if (subGridEntry != null && subGridEntry.Count > 0) { 7604_owningPropertyGridView.GetGridEntriesFromOutline(subGridEntry, 0, subGridEntry.Count - 1, targetEntries); 7677if (properties != null && index >= 0 && index < properties.Count) { 7695return properties.Count;
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (3)
106if (!same && Children != null && Children.Count > 0) { 299if (Children.Count > 0) { 301GridEntry[] childEntries = new GridEntry[this.Children.Count];