Table of Contents

Method ForEachVisibleChild

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

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

e T

Action parameters.

action Action<AbstractControl, T>

Action to call.

Returns

bool

True if Handled of the e is True.

Type Parameters

T

Type 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

action Action<AbstractControl>

Specifies action which will be called for the each visible child.

recursive bool

Whether to call action for all child controls recursively.