Silverlight/XAML – Learning by Coding
1: <?xml version="1.0" encoding="UTF-8"?>
2: <!-- coded by Thomas Meinike 01/08 -->
3: <Canvas xmlns="http://schemas.microsoft.com/client/2007"
4: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5: Background="#FC9" Width="400" Height="300">
6:
7: <Canvas Canvas.Top="50" Canvas.Left="50" Width="300" Height="200" Background="#FFC">
8:
9: <TextBlock Canvas.Left="20" Canvas.Top="20" FontFamily="Arial" FontSize="14"
10: Foreground="#00C" Text="inneres Canvas-Element"/>
11: </Canvas>
12:
13: <TextBlock Canvas.Left="20" Canvas.Top="20" FontFamily="Arial" FontSize="14"
14: Foreground="#00C" Text="äußeres Canvas-Element"/>
15:
16: </Canvas>
[zum Anfang]