Android\AppCompat\Platform.cs (25)
36 internal static readonly BindableProperty RendererProperty = BindableProperty.CreateAttached("Renderer", typeof(IVisualElementRenderer), typeof(Platform), default(IVisualElementRenderer),
45 if (mauiView.Handler == null && newvalue is IVisualElementRenderer ver)
143 IVisualElementRenderer modalRenderer = GetRenderer(modal);
224 IVisualElementRenderer visualElementRenderer,
265 IVisualElementRenderer visualElementRenderer = GetRenderer(view);
295 var element = (renderedView as IVisualElementRenderer)?.Element;
299 var renderer = GetRenderer(view);
305 var layout = view as IVisualElementRenderer;
310 internal static IVisualElementRenderer CreateRenderer(
316 IVisualElementRenderer renderer = null;
359 renderer = Registrar.Registered.GetHandlerForObject<IVisualElementRenderer>(element, context)
371 renderer = Registrar.Registered.GetHandlerForObject<IVisualElementRenderer>(element, context)
375 else if (handler is IVisualElementRenderer ver)
396 public static IVisualElementRenderer CreateRendererWithContext(VisualElement element, Context context)
403 public static IVisualElementRenderer GetRenderer(VisualElement bindable)
405 return (IVisualElementRenderer)bindable?.GetValue(RendererProperty);
408 public static void SetRenderer(VisualElement bindable, IVisualElementRenderer value)
474 var renderersToDispose = new List<IVisualElementRenderer>();
495 var pageRenderer = GetRenderer(page);
539 void Cleanup(List<AView> viewsToRemove, List<IVisualElementRenderer> renderersToDispose)
561 IVisualElementRenderer rootRenderer = renderersToDispose[i];
576 IVisualElementRenderer renderView = CreateRenderer(page, _context);
639 IVisualElementRenderer _renderer;