Page.GetParentWindow Method

Definition

Retrieves the parent window that contains the page.

public:
 virtual Microsoft::Maui::Controls::Window ^ GetParentWindow();
public virtual Microsoft.Maui.Controls.Window GetParentWindow ();
abstract member GetParentWindow : unit -> Microsoft.Maui.Controls.Window
override this.GetParentWindow : unit -> Microsoft.Maui.Controls.Window
Public Overridable Function GetParentWindow () As Window

Returns

The Window instance that parents the page.

Applies to