Table of Contents

Method ForEachParent

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

ForEachParent<T>(T, Action<AbstractControl, T>)

Calls the specified action for all the parent controls.

public virtual bool ForEachParent<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.