Silverlight/XAML – Learning by Coding
1: <?xml version="1.0" encoding="UTF-8"?>
2: <!-- coded by Thomas Meinike 10/08 -->
3: <UserControl x:Class="sl2_passwordbox.Page"
4: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6: Width="800" Height="600">
7:
8: <Canvas>
9:
10: <PasswordBox Canvas.Left="30" Canvas.Top="30" Width="300" Height="25"
11: Background="#FC9" Foreground="#00C"/><!-- System-Zeichen -->
12:
13: <PasswordBox Canvas.Left="30" Canvas.Top="70" Width="300" Height="25"
14: Background="#CF9" Foreground="#00C" PasswordChar="$"/><!-- Dollar-Zeihen -->
15:
16: </Canvas>
17:
18: </UserControl>
[zum Anfang]