summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-06-19 14:14:53 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 13:34:36 +0900
commit82e7a27eb4a352f50c0b62ab16c9b4729f94633b (patch)
treef9e7d9c225b24cd09f99b78fc941ff8bc3bd2cb0 /Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
parentc7037cc9e42caa73dc2ea4b1347ce5a7a5e5e93d (diff)
downloadxamarin-forms-82e7a27eb4a352f50c0b62ab16c9b4729f94633b.tar.gz
xamarin-forms-82e7a27eb4a352f50c0b62ab16c9b4729f94633b.tar.bz2
xamarin-forms-82e7a27eb4a352f50c0b62ab16c9b4729f94633b.zip
Apply TizenSpecifics only if available
- Nothing to happen if Xamarin.Forms.dll doesn't have Xamarin.Forms.PlatformConfiguration.TizenSpecific. Change-Id: I4586178a0eb97610c88bfb272e26e3e0a43b5169
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
index ba6a15a1..f269869e 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
@@ -17,7 +17,10 @@ namespace Xamarin.Forms.Platform.Tizen
RegisterPropertyHandler(Entry.KeyboardProperty, UpdateKeyboard);
RegisterPropertyHandler(Entry.PlaceholderProperty, UpdatePlaceholder);
RegisterPropertyHandler(Entry.PlaceholderColorProperty, UpdatePlaceholderColor);
- RegisterPropertyHandler(Specific.FontWeightProperty, UpdateFontWeight);
+ if(TizenPlatformServices.AppDomain.IsTizenSpecificAvailable)
+ {
+ RegisterPropertyHandler("FontWeight", UpdateFontWeight);
+ }
}
protected override void OnElementChanged(ElementChangedEventArgs<Entry> e)