2 writes to ShellSection
Microsoft.Maui.Controls (2)
Compatibility\Handlers\Shell\iOS\ShellSectionRootRenderer.cs (2)
53
ShellSection
= shellSection ?? throw new ArgumentNullException(nameof(shellSection));
212
ShellSection
= null;
19 references to ShellSection
Microsoft.Maui.Controls (19)
Compatibility\Handlers\Shell\iOS\ShellSectionRootRenderer.cs (19)
19
bool IShellSectionRootRenderer.ShowNavBar => Shell.GetNavBarIsVisible(((IShellContentController)
ShellSection
.CurrentItem).GetOrCreateContent());
49
IShellSectionController ShellSectionController =>
ShellSection
;
82
if (
ShellSection
.CurrentItem == null)
83
throw new InvalidOperationException($"Content not found for active {
ShellSection
}. Title: {
ShellSection
.Title}. Route: {
ShellSection
.Route}.");
101
ShellSection
.PropertyChanged += OnShellSectionPropertyChanged;
116
if (
ShellSection
.CurrentItem != null)
117
tracker.Page = ((IShellContentController)
ShellSection
.CurrentItem).GetOrCreateContent();
158
if (
ShellSection
!= null)
159
ShellSection
.PropertyChanged -= OnShellSectionPropertyChanged;
183
if (disposing &&
ShellSection
!= null)
279
var currentItem =
ShellSection
.CurrentItem;
322
var newContent =
ShellSection
.CurrentItem;
413
var activeItem =
ShellSection
?.CurrentItem;
469
_header.ShellSection =
ShellSection
;
492
if (_shellContext?.Shell?.CurrentItem?.CurrentItem ==
ShellSection
)
555
if (
ShellSection
== null)
608
((IShellSectionController)
ShellSection
).SendInsetChanged(_lastInset, _lastTabThickness);