summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-06-23 01:00:12 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-06-23 01:00:12 +0000
commitc1e50e5859c92c676b502eab64a169a6f5ed710a (patch)
tree5dfb4387d7e578cc60b236d3a931379fe340af5a
parentbf74e4e7ecddc8a35649e2d04e7786f0c89473f9 (diff)
parent7ff39032c7c21493cec119527237097b56d0a418 (diff)
downloadxamarin-forms-c1e50e5859c92c676b502eab64a169a6f5ed710a.tar.gz
xamarin-forms-c1e50e5859c92c676b502eab64a169a6f5ed710a.tar.bz2
xamarin-forms-c1e50e5859c92c676b502eab64a169a6f5ed710a.zip
Merge "Remove unnecessary BindableProperty of Platform" into tizen
-rw-r--r--Xamarin.Forms.Platform.Tizen/Platform.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Platform.cs b/Xamarin.Forms.Platform.Tizen/Platform.cs
index 8abea638..c48a66e8 100644
--- a/Xamarin.Forms.Platform.Tizen/Platform.cs
+++ b/Xamarin.Forms.Platform.Tizen/Platform.cs
@@ -16,7 +16,6 @@ namespace Xamarin.Forms.Platform.Tizen
if (ve != null)
ve.IsPlatformEnabled = newvalue != null;
});
- internal static readonly BindableProperty PageContextProperty = BindableProperty.CreateAttached("PageContext", typeof(FormsApplication), typeof(Platform), null);
Naviframe _naviframe;
NavigationModel _navModel = new NavigationModel();
@@ -70,16 +69,6 @@ namespace Xamarin.Forms.Platform.Tizen
IReadOnlyList<Page> INavigation.ModalStack => _navModel.Modals.ToList();
IReadOnlyList<Page> INavigation.NavigationStack => new List<Page>();
- public static FormsApplication GetPageContext(BindableObject bindable)
- {
- return (FormsApplication)bindable.GetValue(Platform.PageContextProperty);
- }
-
- public static void SetPageContext(BindableObject bindable, FormsApplication context)
- {
- bindable.SetValue(Platform.PageContextProperty, context);
- }
-
public static IVisualElementRenderer GetRenderer(BindableObject bindable)
{
return (IVisualElementRenderer)bindable.GetValue(Platform.RendererProperty);
@@ -132,7 +121,6 @@ namespace Xamarin.Forms.Platform.Tizen
Page = newRoot;
Page.Platform = this;
- Platform.SetPageContext(Page, Forms.Context);
IVisualElementRenderer pageRenderer = AttachRenderer(Page);
var naviItem = _naviframe.Push(pageRenderer.NativeView);
naviItem.TitleBarVisible = false;