我正在创建幻灯片菜单作为Facebook,我正在关注此https://slideview.codeplex.com/。我的xaml代码如下:
<Application.RootVisual>
<library:SlideApplicationFrame Title="Slide View">
<library:SlideApplicationFrame.LeftContent>
<pages:LeftView />
</library:SlideApplicationFrame.LeftContent>
<library:SlideApplicationFrame.RightContent>
<pages:RightView />
</library:SlideApplicationFrame.RightContent>
</library:SlideApplicationFrame>
我的问题是:幻灯片菜单将应用所有页面,但我希望幻灯片显示在特定页面中。
答案 0 :(得分:0)
您可以 Control animation while navigating between panes inside a Windows Phone page or
Add side menus to an Windows Phone application (similar to the Facebook app)
答案 1 :(得分:0)
在要隐藏幻灯片视图的页面构造函数中编写以下代码行。
SlideView.Library.SlideApplicationFrame.SetHideHeader(App.RootFrame, false);
App.RootFrame.IsSlideEnabled =false;
App.RootFrame.ToggleHeaderVisibility(false);