1 instantiation of ContentPage
Microsoft.Maui.Controls (1)
CarouselPage\CarouselPage.cs (1)
25 var page = new ContentPage();
31 references to ContentPage
Microsoft.Maui.Controls (17)
CarouselPage\CarouselPage.cs (3)
7 internal class CarouselPage : MultiPage<ContentPage>, IElementConfiguration<CarouselPage> 23 protected override ContentPage CreateDefault(object item) 25 var page = new ContentPage();
ContentPage\ContentPage.cs (2)
15 public static readonly BindableProperty ContentProperty = BindableProperty.Create(nameof(Content), typeof(View), typeof(ContentPage), null, propertyChanged: TemplateUtilities.OnContentChanged); 26 = BindableProperty.Create(nameof(HideSoftInputOnTapped), typeof(bool), typeof(ContentPage), false);
ContentPage\ContentPage.Mapper.cs (3)
14 PageHandler.Mapper.ReplaceMapping<ContentPage, IPageHandler>(nameof(ContentPage.HideSoftInputOnTapped), MapHideSoftInputOnTapped); 33 static void MapHideSoftInputOnTapped(IPageHandler handler, ContentPage page)
ContentPage\HideSoftInputOnTappedChanged\HideSoftInputOnTappedChangedManager.cs (4)
8 List<ContentPage> _contentPages = new List<ContentPage>(); 14 foreach (var page in _contentPages) 29 internal void UpdatePage(ContentPage contentPage)
Hosting\AppHostBuilderExtensions.cs (1)
261 ContentPage.RemapForControls();
Internals\ProfilePage.cs (1)
97 public static void LoadProfile(this ContentPage page)
NavigationPage\NavigationPageToolbar.cs (1)
70 if (sender is not ContentPage cp)
Shell\Shell.cs (1)
707 if (pivot is ShellContent || pivot is ShellSection || pivot is ContentPage)
Shell\ShellContent.cs (1)
423 if (content is ContentPage)
Microsoft.Maui.Controls.Compatibility (14)
iOS\PageExtensions.cs (1)
42 public static UIViewController CreateViewController(this ContentPage page)
iOS\Renderers\CarouselPageRenderer.cs (12)
143 var child = element as ContentPage; 243 void InsertPage(ContentPage page, int index) 271 var currentPage = (ContentPage)ElementController.LogicalChildren[SelectedIndex]; 285 NotifyCollectionChangedAction action = e.Apply((o, i, c) => InsertPage((ContentPage)o, i), (o, i) => RemovePage((ContentPage)o, i), Reset); 314 foreach (ContentPage child in ((CarouselPage)Element).Children) 326 void RemovePage(ContentPage page, int index) 347 var child = element as ContentPage; 384 ContentPage current = Carousel.CurrentPage;
iOS\VisualElementTracker.cs (1)
251 bool shouldUpdate = (!(visualElement is Page) || visualElement is ContentPage) && width > 0 && height > 0 && parent != null && boundsChanged;