Table of Contents

Method EnumVisibleControls

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

EnumVisibleControls<T>()

Enumerates all visible controls of type T from the most recently activated window.

public static IEnumerable<T> EnumVisibleControls<T>() where T : AbstractControl

Returns

IEnumerable<T>

An enumerable collection of controls of type T that are currently visible in the last activated window. The collection will be empty if no matching controls are found.

Type Parameters

T

The type of control to enumerate. Must derive from AbstractControl.

Remarks

Only controls from the most recently activated window are included. If no visible controls of the specified type are found, the returned collection will be empty.