问题描述
我是 Windows Phone 7 开发的新手,我正在尝试创建类似于 Facebook 上使用的侧菜单栏.
I am new to Windows Phone 7 development and I'm trying to create side menu bar like the one used on Facebook.
我创建了 usercontrol
并为不同的屏幕添加了按钮,我还创建了 PhoneApplicationPage
并添加了一个按钮.
I have created usercontrol
and added buttons for different screens, I have also created PhoneApplicationPage
and added a button.
当我点击那个按钮时,它会尝试像菜单栏一样从上到右滑动.
When I click on that button, it will try to slide from top to right like menu bar.
如果我再次单击它,它会在右上角隐藏它.
If I click it again, at the top right button it will hide it.
如果有人可以提供帮助,请分享您的代码或示例.
If anyone can help, please share your code or examples.
谢谢.
推荐答案
我刚刚在博客上写了一个完整的解决方案……你确实需要视觉状态!http://depblog.weblogs.us/2013/07/22/facebook-like-settings-pane-windows-phone/
I've just blogged a complete solution for this... and indeed you need Visual States! http://depblog.weblogs.us/2013/07/22/facebook-like-settings-pane-windows-phone/
这篇关于Windows 手机创建类似 Facebook 的侧边菜单栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!