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)
613
Page page = container.
CurrentPage
;
691
pageContainer?.
CurrentPage
?.SendAppearing();
714
pageContainer?.
CurrentPage
?.SendDisappearing();
799
if (container?.
CurrentPage
!= null)
801
if (InternalChildren.Contains(container.
CurrentPage
))
802
return container.
CurrentPage
.IsPlatformEnabled && container.
CurrentPage
.IsPlatformStateConsistent;
866
(this as IPageContainer<Page>)?.
CurrentPage
?.SendNavigatedTo(args);
873
(this as IPageContainer<Page>)?.
CurrentPage
?.SendNavigatingFrom(args);
881
(this as IPageContainer<Page>)?.
CurrentPage
?.SendNavigatedFrom(args, false);
Platform\PageExtensions.cs (1)
18
return GetCurrentPage(pc.
CurrentPage
);