diff options
author | rina6350.you <rina6350.you@samsung.com> | 2017-04-14 13:52:05 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-07-10 11:11:23 +0900 |
commit | 2e7be85cf19c1db5417b3ea030428413b26bc46c (patch) | |
tree | 6da34f9ae0d224c65f866bfe363c234a0aa9e38e /Xamarin.Forms.Core | |
parent | 4e8a17c819bf091bcafe0853aa27be1b8f432f6c (diff) | |
download | xamarin-forms-2e7be85cf19c1db5417b3ea030428413b26bc46c.tar.gz xamarin-forms-2e7be85cf19c1db5417b3ea030428413b26bc46c.tar.bz2 xamarin-forms-2e7be85cf19c1db5417b3ea030428413b26bc46c.zip |
Add ToolTip based on Tizen Specific
* Update the version of the used elm-sharp.
* Update the version of xamarin package to 2.3.4-r214-005.
TASK=TCAPI-2259
change-Id: I1f0c65c3d67030b7a690fd0839a0a851c4f1bcba
Diffstat (limited to 'Xamarin.Forms.Core')
-rwxr-xr-x[-rw-r--r--] | Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs index a7e7eff6..6e3d456c 100644..100755 --- a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs +++ b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/VisualElement.cs @@ -24,6 +24,8 @@ namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific public static readonly BindableProperty NextFocusForwardViewProperty = BindableProperty.Create("NextFocusForwardView", typeof(View), typeof(VisualElement), default(View)); + public static readonly BindableProperty ToolTipProperty = BindableProperty.Create("ToolTip", typeof(string), typeof(VisualElement), default(string)); + public static string GetStyle(BindableObject element) { return (string)element.GetValue(StyleProperty); @@ -257,5 +259,26 @@ namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific { bindable.SetValue(NextFocusDirectionProperty, FocusDirection.None); } + + public static string GetToolTip(BindableObject element) + { + return (string)element.GetValue(ToolTipProperty); + } + + public static void SetToolTip(BindableObject element, string value) + { + element.SetValue(ToolTipProperty, value); + } + + public static string GetToolTip(this IPlatformElementConfiguration<Tizen, FormsElement> config) + { + return GetToolTip(config.Element); + } + + public static IPlatformElementConfiguration<Tizen, FormsElement> SetToolTip(this IPlatformElementConfiguration<Tizen, FormsElement> config, string value) + { + SetToolTip(config.Element, value); + return config; + } } }
\ No newline at end of file |