Implemented interface member:
property
CurrentPage
Microsoft.Maui.Controls.IPageContainer<T>.CurrentPage
6 writes to CurrentPage
Microsoft.Maui.Controls (4)
MultiPage.cs (4)
218 CurrentPage = Children.FirstOrDefault(); 372 CurrentPage = (T)InternalChildren.FirstOrDefault(); 374 CurrentPage = _templatedItems.GetOrCreateContent(index, SelectedItem); 377 CurrentPage = (T)SelectedItem;
Microsoft.Maui.Controls.Compatibility (2)
iOS\Renderers\CarouselPageRenderer.cs (1)
277 Carousel.CurrentPage = currentPage;
iOS\Renderers\TabbedRenderer.cs (1)
458 ((TabbedPage)Element).CurrentPage = index >= 0 && index < count ? Tabbed.GetPageByIndex(index) : null;
18 references to CurrentPage
Microsoft.Maui.Controls (7)
MultiPage.cs (6)
118 if (CurrentPage != null) 120 bool handled = CurrentPage.SendBackButtonPressed(); 155 if (CurrentPage == null) 161 int index = _templatedItems.IndexOf(CurrentPage); 217 if (CurrentPage == null || Children.IndexOf(CurrentPage) == -1)
TabbedPage\TabbedPage.Mapper.cs (1)
21 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(CurrentPage), MapCurrentPage);
Microsoft.Maui.Controls.Compatibility (11)
iOS\Renderers\CarouselPageRenderer.cs (4)
74 _previousPage = Carousel?.CurrentPage; 292 int index = Carousel.CurrentPage != null ? CarouselPage.GetIndex(Carousel.CurrentPage) : 0; 384 ContentPage current = Carousel.CurrentPage;
iOS\Renderers\TabbedRenderer.cs (7)
217 if (Tabbed.CurrentPage != null) 218 controller = GetViewController(Tabbed.CurrentPage); 229 if (e.PropertyName == nameof(TabbedPage.CurrentPage)) 231 var current = Tabbed.CurrentPage; 262 var current = Tabbed.CurrentPage; 272 Tabbed.CurrentPage.OnThisPlatform().SetPreferredStatusBarUpdateAnimation(animation); 287 var current = Tabbed.CurrentPage;