第一次运行起来XAML

经过两次的安装,终于将Windows SDK安装进去,马上试验了XamlPad,很多xaml都跑不起来(不认Class节点:( ,最后修改出一个,先纪念一下:
<Page xmlns="http://schemas.microsoft.com/winfx/avalon/2005"
      xmlns:x
="http://schemas.microsoft.com/winfx/xaml/2005">
  
<StackPanel Orientation="Vertical">        
      
<TextBlock DockPanel.Dock="Top"
                  Margin
="10,10,10,10">Enter Text for Page 2</TextBlock>
      
<TextBox  Name="txtBox"
                      Width
="150" 
                      Height
="30" 
                      Horizonta<TextBox AcceptsReturn
='True' VerticalScrollBarVisibility='Visible'></TextBox>lAlignment="Left"
                      
Margin="10,10,10,10"/>
      
<Button
              
Height="30"
              Width
="150" 
                    HorizontalAlignment
="Left"
                    Margin
="10,10,10,10"
              Content
="Go To Page 2"/>
  
</StackPanel>
</Page>

显示的效果如下:
原文地址:https://www.cnblogs.com/tansm/p/335114.html