summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-07-06 06:47:27 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:34:38 (GMT)
commit17e4cb663a432022573d130d086feddadeb61d01 (patch)
tree126288061f741e3427963d40a72c1fcbae512954 /Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
parent1e15bbe346a15b3fb4757b2a4800756ac3bb9a32 (diff)
downloadxamarin-forms-17e4cb663a432022573d130d086feddadeb61d01.zip
xamarin-forms-17e4cb663a432022573d130d086feddadeb61d01.tar.gz
xamarin-forms-17e4cb663a432022573d130d086feddadeb61d01.tar.bz2
Use bool? for VisualElement.IsFocusAllowed property (Specific)
-TASK=TCAPI-2552 Change-Id: I5e38e2f47295d60a5850aa135d9fe250dab22ffe
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
index 0d6b303..a6c1c3a 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
@@ -795,9 +795,9 @@ namespace Xamarin.Forms.Platform.Tizen
if (!initialize)
{
var widget = NativeView as Widget;
- if (widget != null)
+ if (widget != null && Specific.IsFocusAllowed(Element).HasValue)
{
- widget.AllowFocus(Specific.IsFocusAllowed(Element));
+ widget.AllowFocus((bool)Specific.IsFocusAllowed(Element));
}
else
{