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> 相关文章: