Table of Contents

Method ForEachVisible

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ForEachVisible(Action<AbstractControl>)

Executes the specified action on each visible AbstractControl contained in the current collection.

public virtual void ForEachVisible(Action<AbstractControl> action)

Parameters

action Action<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.