Method wnd.ChildAll
Overload
Finds all matching child controls.
public wnd[] ChildAll(string name = null, string cn = null, WCFlags flags = 0, int? id = null, Func<wnd, bool> also = null)
Parameters
name (string)
Control name.
String format: wildcard expression.
By default to get control names this function uses wnd.Name. Can start with these prefix strings:
|
cn (string)
Control class name.
String format: wildcard expression.
|
flags (WCFlags) |
id (int?)
Control id. See wnd.ControlId. Not used if |
also (Func<wnd, bool>)
Callback function. Called for each matching control.
It can evaluate more properties of the control and return |
Returns
wnd[]
Array containing zero or more wnd. |
Exceptions
AuWndException
This variable is invalid (window not found, closed, etc). |
ArgumentException
|
Remarks
Everything except the return type is the same as with wnd.Child.
In the returned array, hidden controls (when using WCFlags.HiddenToo) are always after visible controls.