Windows手机标题与所有页面相同 [英] Windows phone header same for all pages

查看:104
本文介绍了Windows手机标题与所有页面相同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个应用程序,并且我有一个标题,它对所有页面都是一样的(页脚也是这样,但是那个使用应用程序栏创建的页眉)。

Im creating an App and I have a header that its the same for all pages (a footer as well, but that one ill create using the app bar).

我的问题是,如果我不想在每个页面重复标题(代码),最好的方法是做什么。

My question is, what's the best way to do this if I dont want to repeat the header (code it) in every page.

谢谢。

推荐答案

最好的做法是创建以下内容:

The best was to do this is create the following:


  1. 标题的UserControl

  2. 页脚的UserControl

  3. 所有页面或UserControl都应显示这些项目。

这篇关于Windows手机标题与所有页面相同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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