1 interface inheriting from IVisualElementRenderer
Microsoft.Maui.Controls.Compatibility (1)
iOS\IVisualNativeElementRenderer.cs (1)
20
public interface IVisualNativeElementRenderer :
IVisualElementRenderer
10 implementations of IVisualElementRenderer
Microsoft.Maui.Controls.Compatibility (10)
iOS\HandlerToRendererShim.cs (1)
11
public class HandlerToRendererShim :
IVisualElementRenderer
iOS\Renderers\CarouselPageRenderer.cs (1)
18
internal class CarouselPageRenderer : UIViewController,
IVisualElementRenderer
iOS\Renderers\NavigationRenderer.cs (1)
25
public class NavigationRenderer : UINavigationController,
IVisualElementRenderer
, IEffectControlProvider
iOS\Renderers\PageRenderer.cs (1)
17
public class PageRenderer : UIViewController,
IVisualElementRenderer
, IEffectControlProvider, IShellContentInsetObserver, Controls.Platform.Compatibility.IDisconnectable
iOS\Renderers\PhoneFlyoutPageRenderer.cs (1)
15
public class PhoneFlyoutPageRenderer : UIViewController,
IVisualElementRenderer
, IEffectControlProvider
iOS\Renderers\ScrollViewRenderer.cs (1)
17
public class ScrollViewRenderer : UIScrollView,
IVisualElementRenderer
, IEffectControlProvider
iOS\Renderers\TabbedRenderer.cs (1)
19
public class TabbedRenderer : UITabBarController,
IVisualElementRenderer
, IEffectControlProvider
iOS\Renderers\TabletFlyoutPageRenderer.cs (1)
121
public class TabletFlyoutPageRenderer : UISplitViewController,
IVisualElementRenderer
, IEffectControlProvider
iOS\Renderers\WkWebViewRenderer.cs (1)
25
public class WkWebViewRenderer : WKWebView,
IVisualElementRenderer
, IWebViewDelegate, IEffectControlProvider, ITabStop
iOS\VisualElementRenderer.cs (1)
39
public class VisualElementRenderer<TElement> : NativeView,
IVisualElementRenderer
, IEffectControlProvider where TElement : VisualElement
115 references to IVisualElementRenderer
Microsoft.Maui.Controls.Compatibility (115)
iOS\Cells\ViewCellRenderer.cs (8)
45
WeakReference<
IVisualElementRenderer
> _rendererRef;
106
IVisualElementRenderer
renderer;
117
IVisualElementRenderer
renderer;
143
IVisualElementRenderer
renderer;
164
IVisualElementRenderer
GetNewRenderer()
169
var
newRenderer = Platform.CreateRenderer(_viewCell.View);
170
_rendererRef = new WeakReference<
IVisualElementRenderer
>(newRenderer);
191
IVisualElementRenderer
renderer;
iOS\CollectionView\TemplatedCell.cs (3)
35
internal
IVisualElementRenderer
VisualElementRenderer { get; private set; }
122
var
renderer = TemplateHelpers.CreateRenderer(view);
165
void SetRenderer(
IVisualElementRenderer
renderer)
iOS\CollectionView\TemplateHelpers.cs (4)
11
public static
IVisualElementRenderer
CreateRenderer(View view)
19
var
renderer = Platform.CreateRenderer(view);
40
var
renderer = CreateRenderer(templateElement);
54
var
renderer = CreateRenderer(formsView);
iOS\ContextActionCell.cs (1)
403
var
renderer = Platform.GetRenderer((VisualElement)e.RealParent);
iOS\DisposeHelpers.cs (3)
15
IVisualElementRenderer
renderer;
50
internal static void DisposeRendererAndChildren(this
IVisualElementRenderer
rendererToRemove)
63
if (subviews[i] is
IVisualElementRenderer
childRenderer)
iOS\DragAndDropDelegate.cs (6)
34
if (interaction.View is
IVisualElementRenderer
renderer && renderer.Element is View view)
60
if (interaction.View is
IVisualElementRenderer
renderer)
85
if (interaction.View is
IVisualElementRenderer
renderer)
113
interaction.View is
IVisualElementRenderer
renderer &&
138
public UIDragItem[] HandleDragStarting(View element,
IVisualElementRenderer
renderer)
261
public
IVisualElementRenderer
Renderer { get; set; }
iOS\EventTracker.cs (3)
35
readonly
IVisualElementRenderer
_renderer;
46
public EventTracker(
IVisualElementRenderer
renderer)
663
if (touch.View is
IVisualElementRenderer
)
iOS\Extensions\VisualElementExtensions.cs (1)
10
public static
IVisualElementRenderer
GetRenderer(this VisualElement self)
iOS\Platform.cs (15)
23
internal static readonly BindableProperty RendererProperty = BindableProperty.CreateAttached("Renderer", typeof(
IVisualElementRenderer
), typeof(Platform), default(
IVisualElementRenderer
),
38
if (mauiView.Handler == null && newvalue is
IVisualElementRenderer
ver)
220
var
renderView = GetRenderer(view);
239
public static
IVisualElementRenderer
CreateRenderer(VisualElement element)
241
IVisualElementRenderer
renderer = null;
270
renderer = Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerForObject<
IVisualElementRenderer
>(element)
282
renderer = Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerForObject<
IVisualElementRenderer
>(element)
286
else if (handler is
IVisualElementRenderer
ver)
301
public static
IVisualElementRenderer
GetRenderer(VisualElement bindable)
303
return (
IVisualElementRenderer
)bindable.GetValue(RendererProperty);
306
public static void SetRenderer(VisualElement bindable,
IVisualElementRenderer
value)
351
var
rootRenderer = GetRenderer(Page);
399
var
viewRenderer = CreateRenderer(view);
539
var
modalRenderer = GetRenderer(modal);
iOS\RendererPool.cs (17)
14
readonly Dictionary<Type, Stack<
IVisualElementRenderer
>> _freeRenderers =
15
new Dictionary<Type, Stack<
IVisualElementRenderer
>>();
19
readonly
IVisualElementRenderer
_parent;
21
public RendererPool(
IVisualElementRenderer
renderer, VisualElement oldElement)
33
public
IVisualElementRenderer
GetFreeRenderer(VisualElement view)
40
Stack<
IVisualElementRenderer
> renderers;
44
var
renderer = renderers.Pop();
64
var oldChildType = (oldNativeChildren[i] as
IVisualElementRenderer
)?.Element?.GetType();
84
void ClearRenderers(
IVisualElementRenderer
renderer)
92
var
childRenderer = subviews[i] as
IVisualElementRenderer
;
121
var
renderer = GetFreeRenderer(child) ?? Platform.CreateRenderer(child);
129
void PushRenderer(
IVisualElementRenderer
renderer)
134
Stack<
IVisualElementRenderer
> renderers;
136
_freeRenderers[rendererType] = renderers = new Stack<
IVisualElementRenderer
>();
151
var
childRenderer = subviews[i] as
IVisualElementRenderer
;
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\ImageElementManager.cs (2)
298
internal static Task ApplyNativeImageAsync(this
IVisualElementRenderer
renderer, BindableProperty imageSourceProperty, Action<NativeImage> onSet, Action<bool> onLoading = null, CancellationToken cancellationToken = default(CancellationToken))
303
internal static async Task ApplyNativeImageAsync(this
IVisualElementRenderer
renderer, BindableObject bindable, BindableProperty imageSourceProperty, Action<NativeImage> onSet, Action<bool> onLoading = null, CancellationToken cancellationToken = default(CancellationToken))
iOS\Renderers\KeyboardInsetTracker.cs (1)
31
public KeyboardInsetTracker(UIScrollView targetView, Func<UIWindow> fetchWindow, Action<UIEdgeInsets> setInsetAction, Action<PointF> setContentOffset,
IVisualElementRenderer
renderer)
iOS\Renderers\ListViewRenderer.cs (6)
28
IVisualElementRenderer
_headerRenderer;
29
IVisualElementRenderer
_footerRenderer;
160
var
ver = view as
IVisualElementRenderer
;
826
IVisualElementRenderer
_prototype;
959
IVisualElementRenderer
renderer = Platform.GetRenderer(descendant as VisualElement);
iOS\Renderers\NavigationRenderer.cs (11)
45
MessagingCenter.Subscribe<
IVisualElementRenderer
>(this, UpdateToolbarButtons, sender =>
269
MessagingCenter.Unsubscribe<
IVisualElementRenderer
>(this, UpdateToolbarButtons);
313
var
renderer = Platform.GetRenderer(page);
333
var
renderer = Platform.GetRenderer(page);
392
var
pageRenderer = Platform.GetRenderer(page);
1083
IVisualElementRenderer
childRenderer;
1456
IVisualElementRenderer
childRenderer;
1464
IVisualElementRenderer
childRenderer;
1472
IVisualElementRenderer
childRenderer;
1480
IVisualElementRenderer
childRenderer;
1582
IVisualElementRenderer
_child;
iOS\Renderers\PhoneFlyoutPageRenderer.cs (3)
265
var
detailRenderer = Platform.GetRenderer(FlyoutPage.Detail);
370
var
flyoutRenderer = Platform.GetRenderer(((FlyoutPage)Element).Flyout);
371
var
detailRenderer = Platform.GetRenderer(((FlyoutPage)Element).Detail);
iOS\Renderers\SwipeViewRenderer.cs (1)
624
var
renderer = Platform.CreateRenderer(formsSwipeItemView);
iOS\Renderers\TabbedRenderer.cs (4)
180
var
renderer = Platform.GetRenderer(page);
201
IVisualElementRenderer
renderer = Platform.GetRenderer(page);
329
IVisualElementRenderer
renderer = Platform.GetRenderer(page);
466
async void SetTabBarItem(
IVisualElementRenderer
renderer)
iOS\Renderers\TabletFlyoutPageRenderer.cs (2)
438
MessagingCenter.Send<
IVisualElementRenderer
>(this, NavigationRenderer.UpdateToolbarButtons);
461
MessagingCenter.Send<
IVisualElementRenderer
>(this, NavigationRenderer.UpdateToolbarButtons);
iOS\Renderers\UIContainerCell.cs (1)
11
IVisualElementRenderer
_renderer;
iOS\Renderers\UIContainerView.cs (1)
13
IVisualElementRenderer
_renderer;
iOS\VisualElementPackager.cs (7)
22
public VisualElementPackager(
IVisualElementRenderer
renderer) : this(renderer, null)
26
VisualElementPackager(
IVisualElementRenderer
renderer, VisualElement element, bool isHeadless = false)
38
protected
IVisualElementRenderer
Renderer { get; set; }
85
var
childRenderer = Platform.GetRenderer(child);
117
var
viewRenderer = Platform.CreateRenderer(view);
134
var
viewRenderer = Platform.GetRenderer(view);
156
var
childRenderer = Platform.GetRenderer(child);
iOS\VisualElementRenderer.cs (3)
138
VisualElement
IVisualElementRenderer
.Element
143
event EventHandler<VisualElementChangedEventArgs>
IVisualElementRenderer
.ElementChanged
161
void
IVisualElementRenderer
.SetElement(VisualElement element)
iOS\VisualElementTracker.cs (3)
42
public VisualElementTracker(
IVisualElementRenderer
renderer) : this(renderer, true)
46
public VisualElementTracker(
IVisualElementRenderer
renderer, bool trackFrame)
61
IVisualElementRenderer
Renderer { get; set; }
RendererToHandlerShim.cs (4)
74
internal
IVisualElementRenderer
? VisualElementRenderer { get; private set; }
82
if (renderer is
IVisualElementRenderer
ivr)
88
public RendererToHandlerShim(
IVisualElementRenderer
visualElementRenderer) : this()
94
public void SetupRenderer(
IVisualElementRenderer
visualElementRenderer)
RendererToHandlerShim.iOS.cs (2)
28
IVisualElementRenderer
CreateRenderer(IView view)
30
return Internals.Registrar.Registered.GetHandlerForObject<
IVisualElementRenderer
>(view)