summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs
diff options
context:
space:
mode:
authorWonYoung Choi <wy80.choi@samsung.com>2017-04-14 12:56:04 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-04-24 13:39:49 +0900
commit35c94dd8866747738cb67e52b37f9a64b2f47f34 (patch)
tree40217252e68f0acae7fe4c35148f4e22d5ef6bc8 /Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs
parente66e1ed4a2bbac9395a458c935757d0afaa985db (diff)
downloadxamarin-forms-35c94dd8866747738cb67e52b37f9a64b2f47f34.tar.gz
xamarin-forms-35c94dd8866747738cb67e52b37f9a64b2f47f34.tar.bz2
xamarin-forms-35c94dd8866747738cb67e52b37f9a64b2f47f34.zip
Fix FocusDirection to string type
Fix FocusDirection to string type to avoid invalid reference in Tizen.Xamarin.Forms.Extension Change-Id: Ie452f14a32dbe0b5776ab28996eb52c81e8223c4
Diffstat (limited to 'Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs')
-rw-r--r--Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs
index 40c7d75e..a7e7eff6 100644
--- a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs
+++ b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs
@@ -10,7 +10,7 @@ namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific
public static readonly BindableProperty IsFocusAllowedProperty = BindableProperty.Create("IsFocusAllowed", typeof(bool), typeof(VisualElement), true);
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty NextFocusDirectionProperty = BindableProperty.Create("NextFocusDirection", typeof(FocusDirection), typeof(VisualElement), FocusDirection.None, propertyChanged: OnNextFocusDirectionPropertyChanged);
+ public static readonly BindableProperty NextFocusDirectionProperty = BindableProperty.Create("NextFocusDirection", typeof(string), typeof(VisualElement), FocusDirection.None, propertyChanged: OnNextFocusDirectionPropertyChanged);
public static readonly BindableProperty NextFocusUpViewProperty = BindableProperty.Create("NextFocusUpView", typeof(View), typeof(VisualElement), default(View));
@@ -67,25 +67,25 @@ namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific
}
[EditorBrowsable(EditorBrowsableState.Never)]
- public static FocusDirection GetNextFocusDirection(BindableObject element)
+ public static string GetNextFocusDirection(BindableObject element)
{
- return (FocusDirection)element.GetValue(NextFocusDirectionProperty);
+ return (string)element.GetValue(NextFocusDirectionProperty);
}
[EditorBrowsable(EditorBrowsableState.Never)]
- public static void SetNextFocusDirection(BindableObject element, FocusDirection value)
+ public static void SetNextFocusDirection(BindableObject element, string value)
{
element.SetValue(NextFocusDirectionProperty, value);
}
[EditorBrowsable(EditorBrowsableState.Never)]
- public static FocusDirection GetNextFocusDirection(this IPlatformElementConfiguration<Tizen, FormsElement> config)
+ public static string GetNextFocusDirection(this IPlatformElementConfiguration<Tizen, FormsElement> config)
{
return GetNextFocusDirection(config.Element);
}
[EditorBrowsable(EditorBrowsableState.Never)]
- public static IPlatformElementConfiguration<Tizen, FormsElement> SetNextFocusDirection(this IPlatformElementConfiguration<Tizen, FormsElement> config, FocusDirection value)
+ public static IPlatformElementConfiguration<Tizen, FormsElement> SetNextFocusDirection(this IPlatformElementConfiguration<Tizen, FormsElement> config, string value)
{
SetNextFocusDirection(config.Element, value);
return config;