2012-03-26 2 views
2

난 내 .xaml 페이지를 가속화 & 청소에 대해,하지만 난 정말 필요한 무엇인지이 중요한 아니에요 : 나는 합병증없이 제거 할 수 있습니다 알고는 청소하여 PhoneApplicationPage

<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"> 

이미 제거 된 것 .

임 woundering이 부분에 대해 무엇 :

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"> 

감사합니다!

+1

페이지에서 무엇을 제거 할 수 있는지에 따라 달라집니다. –

+0

5 개의 표시된 표현이 무엇인지 설명해 주시겠습니까? 그렇다면 내가 필요로하는지 결정할 수 있습니다. 감사합니다. 감사합니다. – roqstr

+0

사이드 노트 : Resharper를 사용할 수 있습니다. 어떤 네임 스페이스가 사용되지 않았습니까? – Vitalij

답변

2

의 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 : 무시 가능한 = "D"D : DesignHeight = "696"D : 당신이 조화를 사용하지 않는이 경우 DesignWidth = "480">

혼합 관련 태그, 당신은 제거 할 수 있습니다!