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
eTAction parameters.
actionAction<AbstractControl, T>Action to call.
Returns
Type Parameters
TType 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
actionAction<AbstractControl>Specifies action which will be called for the each visible child.
recursiveboolWhether to call action for all child controls recursively.