62 references to GetRenderer
Microsoft.Maui.Controls.Compatibility (62)
iOS\Cells\ViewCellRenderer.cs (1)
196 if (renderer.Element != null && renderer == Platform.GetRenderer(renderer.Element))
iOS\CollectionView\ItemsViewController.cs (1)
418 Platform.GetRenderer(formsElement)?.DisposeRendererAndChildren();
iOS\CollectionView\TemplateHelpers.cs (1)
18 Platform.GetRenderer(view)?.DisposeRendererAndChildren();
iOS\ContextActionCell.cs (1)
403 var renderer = Platform.GetRenderer((VisualElement)e.RealParent);
iOS\DisposeHelpers.cs (3)
20 renderer = Platform.GetRenderer(ve); 33 renderer = Platform.GetRenderer(visualElement); 55 if (rendererToRemove.Element != null && Platform.GetRenderer(rendererToRemove.Element) == rendererToRemove)
iOS\Extensions\VisualElementExtensions.cs (1)
15 return Platform.GetRenderer(self);
iOS\Platform.cs (7)
130 var controller = GetRenderer(modal) as UIViewController; 220 var renderView = GetRenderer(view); 351 var rootRenderer = GetRenderer(Page); 397 if (GetRenderer(view) == null) 539 var modalRenderer = GetRenderer(modal); 551 var controller = GetRenderer(topPage) as UIViewController; 578 var uiViewController = GetRenderer(_modals[_modals.Count - 1]) as UIViewController;
iOS\PlatformRenderer.cs (2)
41 return (UIViewController)Platform.GetRenderer(Platform.Page); 51 get => (UIViewController)Platform.GetRenderer(Platform.Page);
iOS\RendererPool.cs (2)
99 if (childRenderer.Element != null && ReferenceEquals(childRenderer, Platform.GetRenderer(childRenderer.Element))) 160 if (childRenderer.Element != null && ReferenceEquals(childRenderer, Platform.GetRenderer(childRenderer.Element)))
iOS\Renderers\CarouselPageRenderer.cs (3)
232 IVisualElementRenderer renderer = Platform.GetRenderer(kvp.Key); 245 IVisualElementRenderer renderer = Platform.GetRenderer(page); 332 IVisualElementRenderer renderer = Platform.GetRenderer(page);
iOS\Renderers\ListViewRenderer.cs (2)
959 IVisualElementRenderer renderer = Platform.GetRenderer(descendant as VisualElement); 1499 var renderer = Platform.GetRenderer(activityIndicator) as ActivityIndicatorRenderer;
iOS\Renderers\NavigationRenderer.cs (14)
313 var renderer = Platform.GetRenderer(page); 333 var renderer = Platform.GetRenderer(page); 383 if (Platform.GetRenderer(page) == null) 392 var pageRenderer = Platform.GetRenderer(page); 422 var parentViewController = Platform.GetRenderer(page).ViewController.ParentViewController as ParentingViewController; 576 var target = Platform.GetRenderer(before).ViewController.ParentViewController; 617 var target = Platform.GetRenderer(page).ViewController.ParentViewController; 646 if (controller == null || controller.Child == null || Platform.GetRenderer(controller.Child) == null) 1084 if (Child != null && (childRenderer = Platform.GetRenderer(Child)) != null) 1457 if (Child != null && (childRenderer = Platform.GetRenderer(Child)) != null) 1465 if (Child != null && (childRenderer = Platform.GetRenderer(Child)) != null) 1473 if (Child != null && (childRenderer = Platform.GetRenderer(Child)) != null) 1482 if (Child != null && (childRenderer = Platform.GetRenderer(Child)) != null) 1504 return Platform.GetRenderer(Current)?.ViewController ??
iOS\Renderers\PhoneFlyoutPageRenderer.cs (9)
265 var detailRenderer = Platform.GetRenderer(FlyoutPage.Detail); 365 if (Platform.GetRenderer(((FlyoutPage)Element).Flyout) == null) 367 if (Platform.GetRenderer(((FlyoutPage)Element).Detail) == null) 370 var flyoutRenderer = Platform.GetRenderer(((FlyoutPage)Element).Flyout); 371 var detailRenderer = Platform.GetRenderer(((FlyoutPage)Element).Detail); 401 var detailRenderer = Platform.GetRenderer(FlyoutPage.Detail) as UINavigationController; 418 return Platform.GetRenderer(((FlyoutPage)Element).Detail).ViewController; 428 return Platform.GetRenderer(((FlyoutPage)Element).Detail).ViewController; 553 var detailView = Platform.GetRenderer(FlyoutPage.Detail).ViewController.View;
iOS\Renderers\TabbedRenderer.cs (5)
180 var renderer = Platform.GetRenderer(page); 201 IVisualElementRenderer renderer = Platform.GetRenderer(page); 321 if (Platform.GetRenderer(v) != null) 322 list.Add(Platform.GetRenderer(v).ViewController); 329 IVisualElementRenderer renderer = Platform.GetRenderer(page);
iOS\Renderers\TabletFlyoutPageRenderer.cs (6)
386 return (UIViewController)Platform.GetRenderer(((FlyoutPage)Element).Detail); 396 return (UIViewController)Platform.GetRenderer(((FlyoutPage)Element).Detail); 528 if (Platform.GetRenderer(FlyoutPage.Flyout) == null) 530 if (Platform.GetRenderer(FlyoutPage.Detail) == null) 537 var flyout = Platform.GetRenderer(FlyoutPage.Flyout).ViewController; 538 var detail = Platform.GetRenderer(FlyoutPage.Detail).ViewController;
iOS\Renderers\UIContainerCell.cs (1)
24 _renderer = Platform.GetRenderer(view);
iOS\VisualElementPackager.cs (3)
85 var childRenderer = Platform.GetRenderer(child); 134 var viewRenderer = Platform.GetRenderer(view); 156 var childRenderer = Platform.GetRenderer(child);