blob: e74650fcf5c91e35566d8574ba79a817cbc5d537 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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<Tizen, FormsElement> config)
{
return GetButtonStyle(config.Element);
}
public static IPlatformElementConfiguration<Tizen, FormsElement> SetButtonStyle(this IPlatformElementConfiguration<Tizen, FormsElement> config, ButtonStyle value)
{
SetButtonStyle(config.Element, value);
return config;
}
}
}
|