2 writes to _currentPage
Microsoft.Maui.Controls (2)
Platform\ModalNavigationManager\ModalNavigationManager.cs (2)
318
_currentPage
= null;
325
_currentPage
= _window.Page;
10 references to _currentPage
Microsoft.Maui.Controls (10)
Platform\ModalNavigationManager\ModalNavigationManager.cs (7)
322
if (
_currentPage
!= _window.Page)
324
var previousPage =
_currentPage
;
333
if (
_currentPage
is not null)
335
if (
_currentPage
.Handler is null)
337
_currentPage
.HandlerChanged += OnCurrentPageHandlerChanged;
349
if (
_currentPage
is not null)
351
_currentPage
.HandlerChanged -= OnCurrentPageHandlerChanged;
Platform\ModalNavigationManager\ModalNavigationManager.iOS.cs (3)
37
if (
_currentPage
is not null &&
38
_currentPage
.Handler is IPlatformViewHandler pvh &&
40
_window.Page !=
_currentPage
)