WPF SDK研究 Intro(1) QuickStart1

QuickStart1
    This sample shows you how to create an Extensible Application Markup Language (XAML) page that displays "Hello World."
    一个用xaml做出的WPF,"Hello world!"。
    注意,在StackPanel中使用TextBlock显示文字。

<Page
    xmlns
="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x
="http://schemas.microsoft.com/winfx/2006/xaml"
    
>
  
<StackPanel 
    xmlns
="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x
="http://schemas.microsoft.com/winfx/2006/xaml">
    
<TextBlock>
      Hello, World
!
    
</TextBlock>
  
</StackPanel>
</Page>
原文地址:https://www.cnblogs.com/Jax/p/1096733.html