diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-07-06 15:47:27 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-07-10 11:11:29 +0900 |
commit | bdc2f9b0baaec6e8f20a94e535099e1e6699b38e (patch) | |
tree | 4dcd03e9aab756be92ab8dc86ed5cf2ee70543ae /Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs | |
parent | 20e626e37d3e314be4a7526d4fba39ca11aadabb (diff) | |
download | xamarin-forms-bdc2f9b0baaec6e8f20a94e535099e1e6699b38e.tar.gz xamarin-forms-bdc2f9b0baaec6e8f20a94e535099e1e6699b38e.tar.bz2 xamarin-forms-bdc2f9b0baaec6e8f20a94e535099e1e6699b38e.zip |
Use bool? for VisualElement.IsFocusAllowed property (Specific)
-TASK=TCAPI-2552
Change-Id: I5e38e2f47295d60a5850aa135d9fe250dab22ffe
Diffstat (limited to 'Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs')
-rw-r--r--[-rwxr-xr-x] | Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs index 6e3d456c..670c48c5 100755..100644 --- a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs +++ b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs @@ -7,7 +7,7 @@ namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific { public static readonly BindableProperty StyleProperty = BindableProperty.Create("ThemeStyle", typeof(string), typeof(VisualElement), default(string)); - public static readonly BindableProperty IsFocusAllowedProperty = BindableProperty.Create("IsFocusAllowed", typeof(bool), typeof(VisualElement), true); + public static readonly BindableProperty IsFocusAllowedProperty = BindableProperty.Create("IsFocusAllowed", typeof(bool?), typeof(VisualElement), null); [EditorBrowsable(EditorBrowsableState.Never)] public static readonly BindableProperty NextFocusDirectionProperty = BindableProperty.Create("NextFocusDirection", typeof(string), typeof(VisualElement), FocusDirection.None, propertyChanged: OnNextFocusDirectionPropertyChanged); @@ -47,9 +47,9 @@ namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific return config; } - public static bool IsFocusAllowed(BindableObject element) + public static bool? IsFocusAllowed(BindableObject element) { - return (bool)element.GetValue(IsFocusAllowedProperty); + return (bool?)element.GetValue(IsFocusAllowedProperty); } public static void SetFocusAllowed(BindableObject element, bool value) @@ -57,7 +57,7 @@ namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific element.SetValue(IsFocusAllowedProperty, value); } - public static bool IsFocusAllowed(this IPlatformElementConfiguration<Tizen, FormsElement> config) + public static bool? IsFocusAllowed(this IPlatformElementConfiguration<Tizen, FormsElement> config) { return IsFocusAllowed(config.Element); } |