Method ForEachVisible
ForEachVisible(Action<AbstractControl>)
Executes the specified action on each
visible AbstractControl
contained in the current collection.
public virtual void ForEachVisible(Action<AbstractControl> action)
Parameters
actionAction<AbstractControl>The Action<T>(Action<T>) to perform on each visible item.
Remarks
This method filters the items by their Visible property and
applies the provided action
only to those that are currently displayed or intended to be rendered.