首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >清理PhoneApplicationPage

清理PhoneApplicationPage
EN

Stack Overflow用户
提问于 2012-03-26 20:49:03
回答 1查看 338关注 0票数 2

我想清理和加速我的.xaml页面,但我不确定这其中真正需要和重要的是什么:

代码语言:javascript
复制
<phone:PhoneApplicationPage 
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
SupportedOrientations="Portrait" Orientation="Portrait"
mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480">

我已经移除了我知道我可以移除的东西,而不会有复杂的问题。

我想知道这些部分是用来做什么的:

代码语言:javascript
复制
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480">

谢谢!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-03-26 22:01:37

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation

默认名称空间,必须维护!

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml

控制和资源命名所需的,必须维护!

xmlns:d="http://schemas.microsoft.com/expression/blend/2008“xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006”mc:Ignorable="d“d:DesignHeight="696”d:DesignWidth="480">

blend相关的标签,如果你没有使用Blend,你可以删除它!

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9872423

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档