Method ForEachVisibleChild
ForEachVisibleChild<T>(T, Action<AbstractControl, T>)
Calls the specified action for all visible child controls.
public virtual bool ForEachVisibleChild<T>(T e, Action<AbstractControl, T> action) where T : HandledEventArgs
Parameters
e
TAction parameters.
action
Action<AbstractControl, T>Action to call.
Returns
Type Parameters
T
Type of the action parameters.
ForEachVisibleChild(Action<AbstractControl>, bool)
Performs some action for the each visible child of the control.
public virtual void ForEachVisibleChild(Action<AbstractControl> action, bool recursive = false)
Parameters
action
Action<AbstractControl>Specifies action which will be called for the each visible child.
recursive
boolWhether to call action for all child controls recursively.