summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/NavigationPage.cs33
-rw-r--r--Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Page.cs33
-rw-r--r--Xamarin.Forms.Core/Xamarin.Forms.Core.csproj2
3 files changed, 68 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/NavigationPage.cs b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/NavigationPage.cs
new file mode 100644
index 00000000..35222397
--- /dev/null
+++ b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/NavigationPage.cs
@@ -0,0 +1,33 @@
+´╗┐namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific
+{
+ using FormsElement = Forms.NavigationPage;
+
+ public static class NavigationPage
+ {
+ #region HasBreadCrumbsBar
+ public static readonly BindableProperty HasBreadCrumbsBarProperty
+ = BindableProperty.CreateAttached("HasBreadCrumbsBar", typeof(bool), typeof(FormsElement), false);
+
+ public static bool GetHasBreadCrumbsBar(BindableObject element)
+ {
+ return (bool)element.GetValue(HasBreadCrumbsBarProperty);
+ }
+
+ public static void SetHasBreadCrumbsBar(BindableObject element, bool value)
+ {
+ element.SetValue(HasBreadCrumbsBarProperty, value);
+ }
+
+ public static bool HasBreadCrumbsBar(this IPlatformElementConfiguration<Tizen, FormsElement> config)
+ {
+ return GetHasBreadCrumbsBar(config.Element);
+ }
+
+ public static IPlatformElementConfiguration<Tizen, FormsElement> SetHasBreadCrumbsBar(this IPlatformElementConfiguration<Tizen, FormsElement> config, bool value)
+ {
+ SetHasBreadCrumbsBar(config.Element, value);
+ return config;
+ }
+ #endregion
+ }
+}
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Page.cs b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Page.cs
new file mode 100644
index 00000000..876bcd11
--- /dev/null
+++ b/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Page.cs
@@ -0,0 +1,33 @@
+´╗┐namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific
+{
+ using FormsElement = Forms.Page;
+
+ public static class Page
+ {
+ #region BreadCrumbName
+ public static readonly BindableProperty BreadCrumbProperty
+ = BindableProperty.CreateAttached("BreadCrumb", typeof(string), typeof(FormsElement), default(string));
+
+ public static string GetBreadCrumb(BindableObject page)
+ {
+ return (string)page.GetValue(BreadCrumbProperty);
+ }
+
+ public static void SetBreadCrumb(BindableObject page, string value)
+ {
+ page.SetValue(BreadCrumbProperty, value);
+ }
+
+ public static string GetBreadCrumb(this IPlatformElementConfiguration<Tizen, FormsElement> config)
+ {
+ return GetBreadCrumb(config.Element);
+ }
+
+ public static IPlatformElementConfiguration<Tizen, FormsElement> SetBreadCrumb(this IPlatformElementConfiguration<Tizen, FormsElement> config, string value)
+ {
+ SetBreadCrumb(config.Element, value);
+ return config;
+ }
+ #endregion
+ }
+}
diff --git a/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj b/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj
index 46c640de..b2c9c745 100644
--- a/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj
+++ b/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj
@@ -105,9 +105,11 @@
<Compile Include="PlatformConfiguration\iOSSpecific\VisualElement.cs" />
<Compile Include="PlatformConfiguration\TizenSpecific\StyleValues.cs" />
<Compile Include="PlatformConfiguration\TizenSpecific\VisualElement.cs" />
+ <Compile Include="PlatformConfiguration\TizenSpecific\Page.cs" />
<Compile Include="PlatformConfiguration\TizenSpecific\Entry.cs" />
<Compile Include="PlatformConfiguration\TizenSpecific\Label.cs" />
<Compile Include="PlatformConfiguration\TizenSpecific\Image.cs" />
+ <Compile Include="PlatformConfiguration\TizenSpecific\NavigationPage.cs" />
<Compile Include="PlatformConfiguration\TizenSpecific\ProgressBar.cs" />
<Compile Include="PlatformConfiguration\TizenSpecific\FontWeight.cs" />
<Compile Include="PlatformConfiguration\WindowsSpecific\MasterDetailPage.cs" />