Implemented interface member:
property
CurrentPage
Microsoft.Maui.Controls.IPageContainer<T>.CurrentPage
7 writes to CurrentPage
Microsoft.Maui.Controls (7)
NavigationPage\NavigationPage.cs (4)
467 CurrentPage = (Page)newStack[newStack.Count - 1]; 696 CurrentPage = visiblePage; 790 Owner.CurrentPage = newCurrentPage; 831 Owner.CurrentPage = newPage;
NavigationPage\NavigationPage.Legacy.cs (3)
67 CurrentPage = (Page)InternalChildren.Last(); 163 CurrentPage = RootPage; 228 CurrentPage = page;
31 references to CurrentPage
Microsoft.Maui.Controls (28)
Compatibility\Handlers\NavigationPage\iOS\NavigationRenderer.cs (3)
217 if (navPage.CurrentPage == null) 244 Current = navPage.CurrentPage; 492 var current = Current = NavPage?.CurrentPage;
NavigationPage\NavigationPage.cs (13)
46 static readonly BindablePropertyKey CurrentPagePropertyKey = BindableProperty.CreateReadOnly(nameof(CurrentPage), typeof(Page), typeof(NavigationPage), null, propertyChanged: OnCurrentPageChanged); 48 /// <summary>Bindable property for <see cref="CurrentPage"/>.</summary> 365 if (CurrentPage.SendBackButtonPressed()) 379 previousPage?.SendNavigatedFrom(new NavigatedFromEventArgs(CurrentPage, navigationType)); 380 CurrentPage.SendNavigatedTo(new NavigatedToEventArgs(previousPage)); 385 (navigatingFrom ?? CurrentPage)?.SendNavigatingFrom(new NavigatingFromEventArgs()); 506 IView Content => this.CurrentPage; 701 FireAppearing(CurrentPage); 816 Page previousPage = Owner.CurrentPage; 851 var previousPage = Owner.CurrentPage; 876 if (page == Owner.CurrentPage && Owner.CurrentPage == Owner.RootPage) 879 if (page == Owner.CurrentPage)
NavigationPage\NavigationPage.Legacy.cs (10)
27 var previousPage = CurrentPage; 63 return CurrentPage; 152 var previousPage = CurrentPage; 154 FireDisappearing(CurrentPage); 185 var previousPage = CurrentPage; 187 FireDisappearing(CurrentPage); 214 if (CurrentPage.HasNavigatedTo) 236 if (page == CurrentPage && CurrentPage == RootPage) 239 if (page == CurrentPage)
NavigationPage\NavigationPageToolbar.cs (2)
277 return _currentNavigationPage?.CurrentPage?.Title ?? _currentNavigationPage?.Title; 289 if (_currentNavigationPage.CurrentPage is Page currentPage)
Microsoft.Maui.Controls.Compatibility (3)
Tizen\Renderers\NavigationPageRenderer.cs (3)
66 _previousPage = e.NewElement.CurrentPage; 90 _previousPage = Element.CurrentPage; 246 UpdateNavigationBar(Element.CurrentPage);