1 write to CurrentItem
Microsoft.Maui.Controls (1)
Shell\ShellSection.cs (1)
283
current.
CurrentItem
= shellContent;
35 references to CurrentItem
Microsoft.Maui.Controls (35)
Shell\RequestDefinition.cs (1)
15
Content = theWinningRoute.Content ?? Section?.
CurrentItem
;
Shell\Shell.cs (7)
835
shellContent = shellContent ?? shellSection?.
CurrentItem
;
931
var shellContent = shellSection?.
CurrentItem
;
1310
internal ShellContent CurrentContent => CurrentItem?.CurrentItem?.
CurrentItem
;
1677
var shellContent = shellSection.
CurrentItem
;
1715
var currentItem = shellSection.
CurrentItem
;
1843
if (!foundShellContent && pivot is ShellSection shellSection && shellSection.
CurrentItem
!= null)
1845
if (result.Ingest(shellSection.
CurrentItem
))
Shell\ShellContent.cs (1)
125
internal bool IsVisibleContent => Parent is ShellSection shellSection && shellSection.IsVisibleSection && shellSection.
CurrentItem
== this;
Shell\ShellFlyoutItemsManager.cs (3)
129
if (shellContent == shellSection.
CurrentItem
)
154
if (shellContents.Count == 1 && shellSection == shellItem.CurrentItem && shellSection.
CurrentItem
.MenuItems.Count > 0)
156
AddMenuItems(shellSection.
CurrentItem
.MenuItems);
Shell\ShellItem.cs (1)
77
shellSection?.
CurrentItem
,
Shell\ShellNavigationManager.cs (3)
129
if (shellSection.
CurrentItem
!= shellContent)
222
var shellContent = _shell?.CurrentItem?.CurrentItem?.
CurrentItem
;
258
BaseShellItem baseShellItem = _shell.CurrentItem?.CurrentItem?.
CurrentItem
;
Shell\ShellSection.cs (16)
67
return ((IShellContentController)
CurrentItem
)?.Page;
203
/// <summary>Bindable property for <see cref="
CurrentItem
"/>.</summary>
205
BindableProperty.Create(nameof(
CurrentItem
), typeof(ShellContent), typeof(ShellSection), null, BindingMode.TwoWay,
657
IShellContentController currentItem =
CurrentItem
;
707
if (
CurrentItem
== null && ((IShellSectionController)this).GetItems().Contains(child))
710
if (
CurrentItem
!= null)
716
if (
CurrentItem
== child)
750
CurrentItem
,
780
CurrentItem
,
819
CurrentItem
,
860
CurrentItem
,
930
CurrentItem
,
959
CurrentItem
?.SendDisappearing();
969
CurrentItem
?.SendAppearing();
1095
_owner.
CurrentItem
,
1228
var shellContent = shellSection?.
CurrentItem
;
Shell\ShellUriHandler.cs (3)
62
shell.CurrentItem.CurrentItem.
CurrentItem
.Route,
66
restOfPath.Insert(0, shell.CurrentItem.CurrentItem.
CurrentItem
.Route);
728
(object)shell.CurrentItem?.CurrentItem?.
CurrentItem
??