共用方式為


PageExtensions.AncestorToRoot(Page) Method

Definition

For internal use by the Microsoft.Maui.Controls platform.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::Page ^ AncestorToRoot(Microsoft::Maui::Controls::Page ^ page);
public static Microsoft.Maui.Controls.Page AncestorToRoot (this Microsoft.Maui.Controls.Page page);
static member AncestorToRoot : Microsoft.Maui.Controls.Page -> Microsoft.Maui.Controls.Page
<Extension()>
Public Function AncestorToRoot (page As Page) As Page

Parameters

page
Page

For internal use by the Microsoft.Maui.Controls platform.

Returns

For internal use by the Microsoft.Maui.Controls platform.

Applies to