Table of Contents

Method FindChild

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

FindChild(ObjectUniqueId?)

Gets child with the specified id.

public virtual AbstractControl? FindChild(ObjectUniqueId? id)

Parameters

id ObjectUniqueId?

Child control id.

Returns

AbstractControl

FindChild(Func<AbstractControl, bool>, bool)

Searches for the child control that meets the specified criteria.

public AbstractControl? FindChild(Func<AbstractControl, bool> testFunc, bool recursive = false)

Parameters

testFunc Func<AbstractControl, bool>

Function that returns True if the child control meets the specified criteria.

recursive bool

Whether to search for the child control recursively.

Returns

AbstractControl