summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/ContentPageRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/ContentPageRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ContentPageRenderer.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ContentPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ContentPageRenderer.cs
index 1380b77..714f41b 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ContentPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ContentPageRenderer.cs
@@ -13,10 +13,13 @@ namespace Xamarin.Forms.Platform.Tizen
/// </summary>
Native.ContentPage _page;
- static ContentPageRenderer()
+ /// <summary>
+ /// Default constructor.
+ /// </summary>
+ public ContentPageRenderer()
{
- RegisterPropertyHandler(Page.BackgroundImageProperty, (r, i) => (r as ContentPageRenderer).UpdateBackgroundImage(i));
- RegisterPropertyHandler(Page.TitleProperty, (r) => (r as ContentPageRenderer).UpdateTitle());
+ RegisterPropertyHandler(Page.BackgroundImageProperty, UpdateBackgroundImage);
+ RegisterPropertyHandler(Page.TitleProperty, UpdateTitle);
}
protected override void OnElementChanged(ElementChangedEventArgs<ContentPage> e)