Table of Contents

Method HasContainer

Namespace
Alternet.UI
Assembly
Alternet.UI.Maui.dll

HasContainer(AbstractControl?)

Determines whether the specified control has an associated container.

public static bool HasContainer(AbstractControl? control)

Parameters

control AbstractControl

The control to check. Can be null.

Returns

bool

true if the specified control has an associated container; otherwise, false.

Remarks

A container is considered to exist if the GetContainer(AbstractControl?) method returns a non-null value for the specified control.