3 implementations of CurrentPage
Microsoft.Maui.Controls (3)
MultiPage.cs (1)
76
public T
CurrentPage
NavigationPage\NavigationPage.cs (1)
140
public Page
CurrentPage
Shell\Shell.cs (1)
29
public Page
CurrentPage
=> GetVisiblePage() as Page;
14 references to CurrentPage
Microsoft.Maui.Controls (14)
Menu\MenuItemTracker.cs (3)
138
if (container.
CurrentPage
!= null && container.
CurrentPage
!= container)
139
result.AddRange(GetCurrentToolbarItems(container.
CurrentPage
));
Page\Page.cs (10)
615
Page page = container.
CurrentPage
;
693
pageContainer?.
CurrentPage
?.SendAppearing();
716
pageContainer?.
CurrentPage
?.SendDisappearing();
801
if (container?.
CurrentPage
!= null)
803
if (InternalChildren.Contains(container.
CurrentPage
))
804
return container.
CurrentPage
.IsPlatformEnabled && container.
CurrentPage
.IsPlatformStateConsistent;
868
(this as IPageContainer<Page>)?.
CurrentPage
?.SendNavigatedTo(args);
875
(this as IPageContainer<Page>)?.
CurrentPage
?.SendNavigatingFrom(args);
883
(this as IPageContainer<Page>)?.
CurrentPage
?.SendNavigatedFrom(args, false);
Platform\PageExtensions.cs (1)
18
return GetCurrentPage(pc.
CurrentPage
);