blob: 2c86fd04f8a51eb09b8e90816c56bd201ab2b429 (
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.Image;
public static class Image
{
public static readonly BindableProperty BlendColorProperty = BindableProperty.Create("BlendColor", typeof(Color), typeof(FormsElement), Color.Default);
public static Color GetBlendColor(BindableObject element)
{
return (Color)element.GetValue(BlendColorProperty);
}
public static void SetBlendColor(BindableObject element, Color color)
{
element.SetValue(BlendColorProperty, color);
}
public static Color GetBlendColor(this IPlatformElementConfiguration<Tizen, FormsElement> config)
{
return GetBlendColor(config.Element);
}
public static IPlatformElementConfiguration<Tizen, FormsElement> SetBlendColor(this IPlatformElementConfiguration<Tizen, FormsElement> config, Color color)
{
SetBlendColor(config.Element, color);
return config;
}
}
}
|