Method ForEachChild
ForEachChild<T>(Action<T>)
Performs some action for the each child of the control.
public virtual void ForEachChild<T>(Action<T> action) where T : Control
Parameters
action
Action<T>Specifies action which will be called for the each child.
Type Parameters
T
Specifies type of the child control.
ForEachChild(Action<Control>, bool)
Performs some action for the each child of the control.
public virtual void ForEachChild(Action<Control> action, bool recursive = false)