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>
posted @ 2008-03-08 18:56  包建强  Views(585)  Comments(0Edit  收藏  举报