namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific { using FormsElement = Forms.Label; public static class Label { public static readonly BindableProperty FontWeightProperty = BindableProperty.Create("FontWeight", typeof(string), typeof(FormsElement), FontWeight.None); public static string GetFontWeight(BindableObject element) { return (string)element.GetValue(FontWeightProperty); } public static void SetFontWeight(BindableObject element, string weight) { element.SetValue(FontWeightProperty, weight); } public static string GetFontWeight(this IPlatformElementConfiguration config) { return GetFontWeight(config.Element); } public static IPlatformElementConfiguration SetFontWeight(this IPlatformElementConfiguration config, string weight) { SetFontWeight(config.Element, weight); return config; } } }