summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-04-19 13:56:44 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-04-24 13:39:50 +0900
commitd420da95d25ff542caf034421324cf3f8cb92387 (patch)
tree357c7fa196af2f4430c0afdfff597b128c6f398c /Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
parent7a4c6faddd17d5ea4a50f80ffb9813e3e647e4a5 (diff)
downloadxamarin-forms-d420da95d25ff542caf034421324cf3f8cb92387.tar.gz
xamarin-forms-d420da95d25ff542caf034421324cf3f8cb92387.tar.bz2
xamarin-forms-d420da95d25ff542caf034421324cf3f8cb92387.zip
Apply naviitem/tabbar style correctly
TASK=TCAPI-2328 Change-Id: Idb1f68394132c7a161568f384db553a740a7a8ef
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
index 760abc3b..fb17b31e 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
@@ -163,6 +163,7 @@ namespace Xamarin.Forms.Platform.Tizen
void UpdateHasNavigationBar(Page page)
{
NaviItem item = GetNaviItemForPage(page);
+ item.Style = page is TabbedPage ? "tabbar" : "default";
item.TitleBarVisible = (bool)page.GetValue(NavigationPage.HasNavigationBarProperty);
UpdateToolbarItem(page, item);
UpdateBarBackgroundColor(item);