1 implementation of IShellContentController
Microsoft.Maui.Controls (1)
Shell\ShellContent.cs (1)
15
public class ShellContent : BaseShellItem,
IShellContentController
, IVisualTreeElement
19 references to IShellContentController
Microsoft.Maui.Controls (19)
Compatibility\Handlers\Shell\iOS\ShellSectionRootRenderer.cs (7)
19
bool IShellSectionRootRenderer.ShowNavBar => Shell.GetNavBarIsVisible(((
IShellContentController
)ShellSection.CurrentItem).GetOrCreateContent());
117
tracker.Page = ((
IShellContentController
)ShellSection.CurrentItem).GetOrCreateContent();
275
var page = ((
IShellContentController
)item).GetOrCreateContent();
292
page = ((
IShellContentController
)item).GetOrCreateContent();
332
_tracker.Page = ((
IShellContentController
)newContent).Page;
415
if (activeItem is
IShellContentController
scc &&
535
var page = ((
IShellContentController
)newItem).GetOrCreateContent();
Shell\Shell.cs (1)
1943
((
IShellContentController
)CurrentContent)?.Page;
Shell\ShellContent.cs (4)
52
Page
IShellContentController
.Page => ContentCache;
55
event EventHandler
IShellContentController
.IsPageVisibleChanged { add => _isPageVisibleChanged += value; remove => _isPageVisibleChanged -= value; }
58
Page
IShellContentController
.GetOrCreateContent()
113
void
IShellContentController
.RecyclePage(Page page)
Shell\ShellContentCollection.cs (4)
18
IShellContentController
controller = (
IShellContentController
)item;
30
if (element is
IShellContentController
controller)
37
if (element is
IShellContentController
controller)
Shell\ShellSection.cs (3)
67
return ((
IShellContentController
)CurrentItem)?.Page;
646
IShellContentController
currentItem = CurrentItem;
677
if (child is
IShellContentController
sc && (sc.Page?.IsPlatformEnabled == true))