summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/NavigationMenuRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/NavigationMenuRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WP8/NavigationMenuRenderer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.WP8/NavigationMenuRenderer.cs b/Xamarin.Forms.Platform.WP8/NavigationMenuRenderer.cs
index 3613a180..5fb40007 100644
--- a/Xamarin.Forms.Platform.WP8/NavigationMenuRenderer.cs
+++ b/Xamarin.Forms.Platform.WP8/NavigationMenuRenderer.cs
@@ -10,8 +10,6 @@ namespace Xamarin.Forms.Platform.WinPhone
{
const int Spacing = 12;
- INavigationMenuController ElementController => Element;
-
protected override void OnElementChanged(ElementChangedEventArgs<NavigationMenu> e)
{
base.OnElementChanged(e);
@@ -66,7 +64,7 @@ namespace Xamarin.Forms.Platform.WinPhone
hubTile.Background = target.BackgroundColor.ToBrush();
Page tmp = target;
- hubTile.Tap += (sender, args) => ElementController.SendTargetSelected(tmp);
+ hubTile.Tap += (sender, args) => Element.SendTargetSelected(tmp);
hubTile.SetValue(System.Windows.Controls.Grid.RowProperty, y);
hubTile.SetValue(System.Windows.Controls.Grid.ColumnProperty, x);