14 references to ChildCount
System.Windows.Forms (14)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
676if (ChildCount > 0) 804int count = ChildCount;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
604childCount = ChildCount;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (4)
82if (owner is { ChildCount: > 0, Expanded: true }) 84if (index < owner.ChildCount) 129count += owner.ChildCount; 220if (owner is { ChildCount: > 0, Expanded: true })
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
4627int propCount = entry.ChildCount; 4693if (entry.ChildCount != propCount)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (4)
179if (gridEntry.ChildCount > 0) 228else if (gridEntry.ChildCount > 0) 254if (current.ChildCount <= 0 || !this.TryGetOwnerAs(out PropertyGridView? _)) 285if (current.ChildCount <= 0 || !this.TryGetOwnerAs(out PropertyGridView? _))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
96if (!same && ChildCount > 0)