summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Page.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Page.cs')
-rw-r--r--Xamarin.Forms.Core/PlatformConfiguration/TizenSpecific/Page.cs33
1 files changed, 33 insertions, 0 deletions
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
+ }
+}