1 write to Owner
Microsoft.Maui.Controls (1)
NavigationPage\NavigationPage.cs (1)
727
Owner
= owner;
48 references to Owner
Microsoft.Maui.Controls (48)
NavigationPage\NavigationPage.cs (48)
728
_castingList = new Lazy<ReadOnlyCastingList<Page, Element>>(() => new ReadOnlyCastingList<Page, Element>(
Owner
.InternalChildren));
746
if (!
Owner
.InternalChildren.Contains(before))
749
if (
Owner
.InternalChildren.Contains(page))
753
Owner
.SendHandlerUpdateAsync(false,
756
int index =
Owner
.InternalChildren.IndexOf(before);
757
Owner
.InternalChildren.Insert(index, page);
760
Owner
.RootPage = page;
778
if (
Owner
.InternalChildren.Count == 1)
786
await
Owner
.SendHandlerUpdateAsync(animated,
789
Owner
.RemoveFromInnerChildren(currentPage);
790
Owner
.CurrentPage = newCurrentPage;
798
Owner
.SendNavigating(currentPage);
799
Owner
.FireDisappearing(currentPage);
800
Owner
.FireAppearing(newCurrentPage);
804
Owner
.SendNavigated(currentPage, NavigationType.Pop);
805
Owner
?.Popped?.Invoke(
Owner
, new NavigationEventArgs(currentPage));
816
Page previousPage =
Owner
.CurrentPage;
817
Page newPage =
Owner
.RootPage;
820
return
Owner
.SendHandlerUpdateAsync(animated,
827
Owner
.RemoveFromInnerChildren(page);
831
Owner
.CurrentPage = newPage;
835
Owner
.SendNavigating(previousPage);
836
Owner
.FireDisappearing(previousPage);
837
Owner
.FireAppearing(newPage);
841
Owner
.SendNavigated(previousPage, NavigationType.PopToRoot);
842
Owner
?.PoppedToRoot?.Invoke(
Owner
, new PoppedToRootEventArgs(newPage, pagesToRemove));
848
if (
Owner
.InternalChildren.Contains(root))
851
var previousPage =
Owner
.CurrentPage;
853
return
Owner
.SendHandlerUpdateAsync(animated,
856
Owner
.PushPage(root);
860
Owner
.SendNavigating(previousPage);
861
Owner
.FireDisappearing(previousPage);
862
Owner
.FireAppearing(root);
866
Owner
.SendNavigated(previousPage, NavigationType.Push);
867
Owner
?.Pushed?.Invoke(
Owner
, new NavigationEventArgs(root));
876
if (page ==
Owner
.CurrentPage &&
Owner
.CurrentPage ==
Owner
.RootPage)
879
if (page ==
Owner
.CurrentPage)
886
if (!
Owner
.InternalChildren.Contains(page))
889
Owner
.SendHandlerUpdateAsync(false,
892
Owner
.RemoveFromInnerChildren(page);
894
if (
Owner
.RootPage == page)
895
Owner
.RootPage = (Page)
Owner
.InternalChildren[0];