Page.GetParentWindow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.