summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Entry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Entry.cs')
-rw-r--r--Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Entry.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Entry.cs b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Entry.cs
new file mode 100644
index 0000000..c84dcc3
--- /dev/null
+++ b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Entry.cs
@@ -0,0 +1,30 @@
+namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific
+{
+ using FormsElement = Forms.Entry;
+
+ public static class Entry
+ {
+ public static readonly BindableProperty FontWeightProperty = BindableProperty.Create("FontWeight", typeof(FontWeight), typeof(FormsElement), FontWeight.None);
+
+ public static FontWeight GetFontWeight(BindableObject element)
+ {
+ return (FontWeight)element.GetValue(FontWeightProperty);
+ }
+
+ public static void SetFontWeight(BindableObject element, FontWeight weight)
+ {
+ element.SetValue(FontWeightProperty, weight);
+ }
+
+ public static FontWeight GetFontWeight(this IPlatformElementConfiguration<Tizen, FormsElement> config)
+ {
+ return GetFontWeight(config.Element);
+ }
+
+ public static IPlatformElementConfiguration<Tizen, FormsElement> SetFontWeight(this IPlatformElementConfiguration<Tizen, FormsElement> config, FontWeight weight)
+ {
+ SetFontWeight(config.Element, weight);
+ return config;
+ }
+ }
+}