Canvas是最简单的面板。它将项目放置在指定的Top/Left坐标处。
<Canvas> <TextBlock Canvas.Top="50" Canvas.Left="50" Text="This is located at 50, 50"/> <TextBlock Canvas.Top="100" Canvas.Left="50" Width="150" Height="23" Text="This is located at 50, 100 with height 23 and width 150"/> </Canvas>