Windows 手机创建像 Facebook 一样的侧边菜单栏 [英] Windows phone create side menu bar like Facebook

查看:19
本文介绍了Windows 手机创建像 Facebook 一样的侧边菜单栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 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.

谢谢.

推荐答案

我刚刚在博客上写了一个完整的解决方案......而且您确实需要 Visual States!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 一样的侧边菜单栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆