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