我想清理和加速我的.xaml页面,但我不确定这其中真正需要和重要的是什么:
<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">我已经移除了我知道我可以移除的东西,而不会有复杂的问题。
我想知道这些部分是用来做什么的:
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">谢谢!
发布于 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,你可以删除它!
https://stackoverflow.com/questions/9872423
复制相似问题