Method HasContainer
HasContainer(AbstractControl?)
Determines whether the specified control has an associated container.
public static bool HasContainer(AbstractControl? control)
Parameters
controlAbstractControlThe control to check. Can be null.
Returns
Remarks
A container is considered to exist if the GetContainer(AbstractControl?) method returns a non-null value for the specified control.