From: Stephane Delcroix Date: Sat, 21 Jan 2017 12:51:20 +0000 (+0100) Subject: [iOS] redraw Frame on CornerRadius changed (#697) X-Git-Tag: beta-2.3.4-pre2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bf25891438f8356178ac71f18fe2974c75207a9;p=platform%2Fupstream%2Fxamarin-forms.git [iOS] redraw Frame on CornerRadius changed (#697) --- diff --git a/Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs index 3914cf3..52764b9 100644 --- a/Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs +++ b/Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs @@ -18,8 +18,10 @@ namespace Xamarin.Forms.Platform.iOS { base.OnElementPropertyChanged(sender, e); - if (e.PropertyName == VisualElement.BackgroundColorProperty.PropertyName || e.PropertyName == Xamarin.Forms.Frame.OutlineColorProperty.PropertyName || - e.PropertyName == Xamarin.Forms.Frame.HasShadowProperty.PropertyName) + if (e.PropertyName == VisualElement.BackgroundColorProperty.PropertyName || + e.PropertyName == Xamarin.Forms.Frame.OutlineColorProperty.PropertyName || + e.PropertyName == Xamarin.Forms.Frame.HasShadowProperty.PropertyName || + e.PropertyName == Xamarin.Forms.Frame.CornerRadiusProperty.PropertyName) SetupLayer(); }