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:
6: <TextBlock Canvas.Left="20" Canvas.Top="30" FontFamily="Arial" FontSize="16">
7: <Run Text="XAML-Farbwerte am Beispiel der Farbe" Foreground="#00C" FontWeight="Bold"/>
8: <Run Text="Rot" Foreground="#F00" FontWeight="Bold"/>
9: <LineBreak/><LineBreak/>
10: <Run Text="Red" Foreground="Red"/><Run Text=" (Farbwort | 141)" Foreground="#00C"/>
11: <LineBreak/>
12: <Run Text="#F00" Foreground="#F00"/><Run Text=" (#RGB, kurz)" Foreground="#00C"/>
13: <LineBreak/>
14: <Run Text="#FF0000" Foreground="#FF0000"/><Run Text=" (#RRGGBB)" Foreground="#00C"/>
15: <LineBreak/>
16: <Run Text="#FF00" Foreground="#FF00"/><Run Text=" (#ARGB, kurz)" Foreground="#00C"/>
17: <LineBreak/>
18: <Run Text="#FFFF0000" Foreground="#FFFF0000"/><Run Text=" (#AARRGGBB)" Foreground="#00C"/>
19: <LineBreak/>
20: <Run Text="sc#1,0,0" Foreground="sc#1,0,0"/><Run Text=" (sc#r,g,b | 0...1)" Foreground="#00C"/>
21: <LineBreak/>
22: <Run Text="sc#1,1,0,0" Foreground="sc#1,1,0,0"/><Run Text=" (sc#a,r,g,b | 0...1)" Foreground="#00C"/>
23: <LineBreak/><LineBreak/>
24: <Run Text="A/a = Alpha Kanal" Foreground="#00C"/>
25: </TextBlock>
26:
27: </Canvas>
[zum Anfang]