diff options
author | WonYoung Choi <wy80.choi@samsung.com> | 2017-04-14 12:56:04 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-04-24 13:39:49 +0900 |
commit | 35c94dd8866747738cb67e52b37f9a64b2f47f34 (patch) | |
tree | 40217252e68f0acae7fe4c35148f4e22d5ef6bc8 /Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs | |
parent | e66e1ed4a2bbac9395a458c935757d0afaa985db (diff) | |
download | xamarin-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.cs | 12 |
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; |