public SlideDownMenuPage() { Content = new StackLayout { VerticalOptions = LayoutOptions.Center, HorizontalOptions = LayoutOptions.Center, Children = { new Label { Text = "Click the button in top right" } } }; // You can add a ToolBar button to show the Menu. this.ToolbarItems.Add(new ToolbarItem { Command = new Command(() => { if (ShowMenuAction != null) { ShowMenuAction(); } }), Icon = "Settings.png", Text = "Settings", Priority = 0 }); this.SlideMenu = new SlideDownMenuView(); }
public PageImpInterface(MenuView menuview) : this() { this.SlideMenu = menuview; menuview.NavigationPage = (orientation) => { Navigation.PushModalAsync(new MainPage(new MenuView(orientation) { IsFullScreen = true })); }; }