10 implementations of NativeView
Microsoft.Maui.Controls.Compatibility (10)
iOS\HandlerToRendererShim.cs (1)
23
public UIView
NativeView
=> ViewHandler.ContainerView ?? ViewHandler.PlatformView;
iOS\Renderers\CarouselPageRenderer.cs (1)
58
public UIView
NativeView
iOS\Renderers\NavigationRenderer.cs (1)
70
public UIView
NativeView
iOS\Renderers\PageRenderer.cs (1)
55
public UIView
NativeView
iOS\Renderers\PhoneFlyoutPageRenderer.cs (1)
74
public UIView
NativeView
iOS\Renderers\ScrollViewRenderer.cs (1)
53
public UIView
NativeView
iOS\Renderers\TabbedRenderer.cs (1)
63
public UIView
NativeView
iOS\Renderers\TabletFlyoutPageRenderer.cs (1)
204
public UIView
NativeView
iOS\Renderers\WkWebViewRenderer.cs (1)
926
public UIView
NativeView
iOS\VisualElementRenderer.cs (1)
156
public NativeView
NativeView
=> this;
65 references to NativeView
Microsoft.Maui.Controls.Compatibility (65)
iOS\Cells\ViewCellRenderer.cs (2)
108
renderer.
NativeView
.Frame = view.Bounds.ToRectangleF();
171
ContentView.AddSubview(newRenderer.
NativeView
);
iOS\CollectionView\TemplatedCell.cs (3)
86
var nativeView = VisualElementRenderer.
NativeView
;
168
var nativeView = VisualElementRenderer.
NativeView
;
182
var nativeView = VisualElementRenderer.
NativeView
;
iOS\CollectionView\TemplateHelpers.cs (3)
22
renderer.
NativeView
.Bounds = view.Bounds.ToRectangleF();
45
return (renderer.
NativeView
, renderer.Element);
56
return (renderer.
NativeView
, renderer.Element);
iOS\DisposeHelpers.cs (5)
25
renderer.
NativeView
.RemoveFromSuperview();
43
renderer.
NativeView
.RemoveFromSuperview();
58
if (rendererToRemove.
NativeView
!= null)
60
var subviews = rendererToRemove.
NativeView
.Subviews;
66
rendererToRemove.
NativeView
.RemoveFromSuperview();
iOS\DragAndDropDelegate.cs (1)
175
itemProvider = new NSItemProvider(renderer.
NativeView
.ConvertToImage());
iOS\EventTracker.cs (10)
114
var originPoint = sender.LocationInView(eventTracker._renderer.
NativeView
);
329
originPoint = UIApplication.SharedApplication.GetKeyWindow().ConvertPointToView(originPoint, eventTracker._renderer.
NativeView
);
582
foreach (var interaction in _renderer.
NativeView
.Interactions)
622
_renderer.
NativeView
.AddInteraction(interaction);
633
_renderer.
NativeView
.AddInteraction(interaction);
641
_renderer.
NativeView
.RemoveInteraction(uIDragInteraction);
644
_renderer.
NativeView
.RemoveInteraction(uIDropInteraction);
671
if (_renderer?.
NativeView
== null)
676
if (touch.View.IsDescendantOfView(_renderer.
NativeView
) &&
677
(touch.View.GestureRecognizers?.Length > 0 || _renderer.
NativeView
.GestureRecognizers?.Length > 0))
iOS\Platform.cs (3)
221
if (renderView == null || renderView.
NativeView
== null)
402
var nativeView = viewRenderer.
NativeView
;
407
viewRenderer.
NativeView
.Frame = new CGRect(0, 0, _renderer.View.Bounds.Width, _renderer.View.Bounds.Height);
iOS\RendererPool.cs (6)
57
var oldNativeChildren = _parent.
NativeView
.Subviews;
89
var subviews = renderer.
NativeView
.Subviews;
123
_parent.
NativeView
.AddSubview(renderer.
NativeView
);
148
var subviews = _parent.
NativeView
.Subviews;
155
var x = (int)childRenderer.
NativeView
.Layer.ZPosition / 1000;
iOS\Renderers\CarouselPageRenderer.cs (3)
236
renderer.
NativeView
.RemoveFromSuperview();
254
UIView view = renderer.
NativeView
;
337
renderer.
NativeView
.RemoveFromSuperview();
iOS\Renderers\ImageElementManager.cs (2)
316
if (element == null || renderer.
NativeView
== null || (nativeRenderer != null && nativeRenderer.Control == null))
332
if (element == null || renderer.
NativeView
== null || (nativeRenderer != null && nativeRenderer.Control == null))
iOS\Renderers\ListViewRenderer.cs (6)
90
Control.TableHeaderView = _headerRenderer.
NativeView
;
103
Control.TableFooterView = _footerRenderer.
NativeView
;
408
Control.TableFooterView = _footerRenderer.
NativeView
;
430
Control.TableHeaderView = _headerRenderer.
NativeView
;
501
Control.TableFooterView = _footerRenderer.
NativeView
;
547
Control.TableHeaderView = _headerRenderer.
NativeView
;
iOS\Renderers\NavigationRenderer.cs (3)
1085
childRenderer.
NativeView
.Frame = Child.Bounds.ToRectangleF();
1604
AddSubview(_child.
NativeView
);
1713
_child.
NativeView
.RemoveFromSuperview();
iOS\Renderers\PhoneFlyoutPageRenderer.cs (2)
375
UIView flyoutView = flyoutRenderer.
NativeView
;
380
UIView detailView = detailRenderer.
NativeView
;
iOS\Renderers\SwipeViewRenderer.cs (1)
628
var swipeItemView = renderer?.
NativeView
;
iOS\Renderers\UIContainerCell.cs (2)
32
ContentView.AddSubview(_renderer.
NativeView
);
33
_renderer.
NativeView
.ClipsToBounds = true;
iOS\Renderers\UIContainerView.cs (1)
24
AddSubview(_renderer.
NativeView
);
iOS\VisualElementPackager.cs (6)
120
var uiview = Renderer.
NativeView
;
121
uiview.AddSubview(viewRenderer.
NativeView
);
135
if (viewRenderer == null || viewRenderer.
NativeView
== null)
138
viewRenderer.
NativeView
.RemoveFromSuperview();
161
var nativeControl = childRenderer.
NativeView
;
163
Renderer.
NativeView
.BringSubviewToFront(nativeControl);
iOS\VisualElementTracker.cs (5)
161
var uiview = Renderer.
NativeView
;
392
_layer = Renderer.
NativeView
.Layer;
394
_isInteractive = Renderer.
NativeView
.UserInteractionEnabled;
414
var uiview = Renderer.
NativeView
;
460
var uiview = Renderer?.
NativeView
;
RendererToHandlerShim.iOS.cs (1)
25
return VisualElementRenderer.
NativeView
;