1 write to _owner
Microsoft.Maui.Controls (1)
Shell\ShellSection.cs (1)
1045
public NavigationImpl(ShellSection owner) =>
_owner
= owner;
37 references to _owner
Microsoft.Maui.Controls (37)
Shell\ShellSection.cs (37)
1047
protected override IReadOnlyList<Page> GetNavigationStack() =>
_owner
.GetNavigationStack();
1051
if (!
_owner
.IsVisibleSection)
1053
return (await
_owner
.OnPopAsync(animated));
1062
var returnedPage = (
_owner
as IShellSectionController).PresentedPage;
1063
await
_owner
.Shell.NavigationManager.GoToAsync(navigationParameters);
1066
if ((
_owner
as IShellSectionController).PresentedPage == returnedPage)
1074
if (!
_owner
.IsVisibleSection)
1076
return
_owner
.OnPopToRootAsync(animated);
1079
var shell =
_owner
.Shell;
1083
_owner
,
1084
_owner
.CurrentItem,
1095
return
_owner
.Shell.NavigationManager.GoToAsync(navigationParameters);
1100
if (!
_owner
.IsVisibleSection)
1101
return
_owner
.OnPushAsync(page, animated);
1109
return
_owner
.Shell.NavigationManager.GoToAsync(navigationParameters);
1128
if (
_owner
.Shell is null ||
1129
_owner
.Shell.NavigationManager.AccumulateNavigatedEvents)
1146
await
_owner
.Shell.NavigationManager.GoToAsync(navigationParameters);
1151
if (
_owner
.Shell.NavigationManager.AccumulateNavigatedEvents)
1155
await
_owner
.Shell.GoToAsync("..", animated);
1161
if (!
_owner
.IsVisibleSection ||
_owner
.Shell.NavigationManager.AccumulateNavigatedEvents)
1163
_owner
.OnRemovePage(page);
1167
var stack =
_owner
.Stack.ToList();
1173
_owner
.Shell.CurrentState,
1179
_owner
.Shell.NavigationManager.HandleNavigating(shellNavigatingEventArgs);
1180
_owner
.OnRemovePage(page);
1181
(
_owner
.Shell as IShellController).UpdateCurrentState(ShellNavigationSource.Remove);
1186
if (!
_owner
.IsVisibleSection ||
_owner
.Shell.NavigationManager.AccumulateNavigatedEvents)
1188
_owner
.OnInsertPageBefore(page, before);
1192
var stack =
_owner
.Stack.ToList();
1202
_owner
.Shell.CurrentState,
1208
_owner
.Shell.NavigationManager.HandleNavigating(shellNavigatingEventArgs);
1209
_owner
.OnInsertPageBefore(page, before);
1210
(
_owner
.Shell as IShellController).UpdateCurrentState(ShellNavigationSource.Insert);
1215
var shellItem =
_owner
.Shell.CurrentItem;