namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific { using FormsElement = Forms.Button; public static class Button { public static readonly BindableProperty ButtonStyleProperty = BindableProperty.Create("ButtonStyle", typeof(ButtonStyle), typeof(FormsElement), ButtonStyle.Default); public static ButtonStyle GetButtonStyle(BindableObject element) { return (ButtonStyle)element.GetValue(ButtonStyleProperty); } public static void SetButtonStyle(BindableObject element, ButtonStyle value) { element.SetValue(ButtonStyleProperty, value); } public static ButtonStyle GetButtonStyle(this IPlatformElementConfiguration config) { return GetButtonStyle(config.Element); } public static IPlatformElementConfiguration SetButtonStyle(this IPlatformElementConfiguration config, ButtonStyle value) { SetButtonStyle(config.Element, value); return config; } } }