diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
-rwxr-xr-x[-rw-r--r--] | Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs | 14 | ||||
-rwxr-xr-x[-rw-r--r--] | Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs index a103abf7..8b288698 100644..100755 --- a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs @@ -66,6 +66,7 @@ namespace Xamarin.Forms.Platform.Tizen RegisterPropertyHandler(Specific.NextFocusRightViewProperty, UpdateFocusRightView); RegisterPropertyHandler(Specific.NextFocusBackViewProperty, UpdateFocusBackView); RegisterPropertyHandler(Specific.NextFocusForwardViewProperty, UpdateFocusForwardView); + RegisterPropertyHandler(Specific.ToolTipProperty, UpdateToolTip); RegisterPropertyHandler(VisualElement.AnchorXProperty, ApplyTransformation); RegisterPropertyHandler(VisualElement.AnchorYProperty, ApplyTransformation); @@ -835,6 +836,19 @@ namespace Xamarin.Forms.Platform.Tizen } } + void UpdateToolTip() + { + var tooltip = Specific.GetToolTip(Element); + if (tooltip != null) + { + NativeView.SetTooltipText(tooltip); + } + else + { + NativeView.UnsetTooltip(); + } + } + void SetNextFocusViewInternal(string direction) { var widget = NativeView as Widget; diff --git a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj index 26d62846..9a13995c 100644..100755 --- a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj +++ b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj @@ -6,7 +6,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="ElmSharp" Version="1.1.0-beta-018" /> + <PackageReference Include="ElmSharp" Version="1.1.0-beta-021" /> <PackageReference Include="System.Runtime.Serialization.Xml" Version="4.3.0" /> <PackageReference Include="Tizen.Applications" Version="1.3.2" /> <PackageReference Include="Tizen.System.Information" Version="1.0.2" /> |