Method GetParentPage
GetParentPage(AbstractControl?)
Gets parent Page for the specified control. If control is not attached to the parent, this function returns main page.
public static Page? GetParentPage(AbstractControl? control)
Parameters
control
AbstractControlControl for which to get the parent page.