Table of Contents

Method HostControlInChildren

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

HostControlInChildren(AbstractControl?)

Determines whether any visible child of the specified control implements the IContextMenuHost interface.

public static bool HostControlInChildren(AbstractControl? control)

Parameters

control AbstractControl

The control whose children are to be inspected. Can be null.

Returns

bool

true if any child of the specified control implements the IContextMenuHost interface; otherwise, false. Returns false if control is null or has no children.