Silverlight/XAML – Learning by Coding

[ ellipse.xaml --> Grafik anzeigen ]

 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: 
 6:   <Ellipse Width="200" Height="100" Canvas.Left="20" Canvas.Top="50" Fill="#EEE"
 7:            Stroke="#F00" StrokeThickness="5"/>
 8: 
 9:   <Ellipse Width="75" Height="150" Canvas.Left="250" Canvas.Top="30" Fill="#FF0"
10:            Stroke="#00C" StrokeDashArray="5,2"/>
11: 
12:   <Ellipse Width="100" Height="100" Canvas.Left="350" Canvas.Top="50" Fill="#9CC"
13:            Stroke="#090" StrokeThickness="2"/><!-- Kreis mit Width Height -->
14: 
15: </Canvas>

[zum Anfang]