在Windows Phone的XAML頁面,一些元素有X:名稱Windows Phone的XAML元素名稱
<TextBlock x:Name="PageTitle" Text="simple" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
,而其他人名稱
<TextBlock Name="tbSource" Height="30" HorizontalAlignment="Left" Margin="129,178,0,0" Text="Source" VerticalAlignment="Top" Width="304" />
的區別是什麼?
可能重複。請參見[這裏](http://stackoverflow.com/questions/589874/in-wpf-what-are-the-differences-between-the-xname-and-name-attributes) – itsho