Show / Hide Table of Contents

Method wndChildFinder.Find(+ 1 overload)


Overload

Finds the specified child control, like wnd.Child.

public wnd Find(wnd wParent)
Parameters
wParent  (wnd)

Direct or indirect parent window. Can be top-level window or control.

Returns
wnd

If found, returns wndChildFinder.Result, else default(wnd).

Exceptions
AuWndException

Invalid wParent.

Remarks

Functions Find and Exists differ only in their return types.


Overload(top)

Finds the specified child control, like wnd.Child. Can wait and throw NotFoundException.

public wnd Find(wnd wParent, Seconds wait)
Parameters
wParent  (wnd)

Direct or indirect parent window. Can be top-level window or control.

wait  (Seconds)

The wait timeout, seconds. If 0, does not wait. If negative, does not throw exception when not found.

Returns
wnd

If found, returns wndChildFinder.Result. Else throws exception or returns default(wnd) (if wait negative).

Exceptions
AuWndException

Invalid wParent.

NotFoundException

Remarks

Functions Find and Exists differ only in their return types.