Windows phone 7 清理电话应用程序页

Windows phone 7 清理电话应用程序页,windows-phone-7,xaml,windows-phone-7.1,Windows Phone 7,Xaml,Windows Phone 7.1,我想清理和加速我的.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;assembl

我想清理和加速我的.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”>


混合相关标记,如果不使用混合,可以删除此标记

这完全取决于页面上的内容以及你可以删除的内容。你能解释一下这五个标记出来的表达是什么意思吗?然后我可以决定是否需要它们。谢谢你可以使用Resharper,它会指出哪些名称空间没有被使用。谢谢,我会尝试一下!
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">