2 writes to _actualView
Microsoft.Maui.Controls (2)
Compatibility\Handlers\iOS\FrameRenderer.cs (2)
35
_actualView
= new FrameView();
215
_actualView
= null;
32 references to _actualView
Microsoft.Maui.Controls (32)
Compatibility\Handlers\iOS\FrameRenderer.cs (32)
36
AddSubview(
_actualView
);
51
if (view !=
_actualView
)
52
_actualView
.AddSubview(view);
63
_actualView
.CrossPlatformLayout = e.NewElement;
77
_actualView
.ClearSubviews();
85
_actualView
.AddSubview(platformView);
100
if (
_actualView
== null)
110
_actualView
.Layer.CornerRadius = cornerRadius;
111
_actualView
.Layer.MasksToBounds = cornerRadius > 0;
114
_actualView
.Layer.BackgroundColor = Microsoft.Maui.Platform.ColorExtensions.BackgroundColor.CGColor;
120
_actualView
.Layer.BackgroundColor = element.BackgroundColor.ToCGColor();
123
_actualView
.Layer.RemoveBackgroundLayer();
131
_actualView
.Layer.BackgroundColor = UIColor.Clear.CGColor;
142
_actualView
.Layer.BorderColor = UIColor.Clear.CGColor;
143
_actualView
.Layer.BorderWidth = 0;
150
_actualView
.Layer.BorderColor = element.BorderColor.ToCGColor();
151
_actualView
.Layer.BorderWidth = borderWidth;
158
_actualView
.Layer.RasterizationScale = UIScreen.MainScreen.Scale;
159
_actualView
.Layer.ShouldRasterize = true;
160
_actualView
.Layer.MasksToBounds = element.IsClippedToBoundsSet(true);
181
return
_actualView
.SizeThatFits(size);
186
if (
_actualView
!= null)
187
_actualView
.Frame = Bounds;
205
if (
_actualView
!= null)
207
for (var i = 0; i <
_actualView
.GestureRecognizers?.Length; i++)
208
_actualView
.GestureRecognizers.Remove(
_actualView
.GestureRecognizers[i]);
210
for (var j = 0; j <
_actualView
.Subviews.Length; j++)
211
_actualView
.Subviews.Remove(
_actualView
.Subviews[j]);
213
_actualView
.RemoveFromSuperview();
214
_actualView
.Dispose();