Silverlight/XAML – Learning by Coding

[ sl2_tooltip.xaml --> Grafik anzeigen ]

 1: <?xml version="1.0" encoding="UTF-8"?>
 2: <!-- coded by Thomas Meinike 08/08 -->
 3: <UserControl x:Class="sl2_tooltip.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:     <Rectangle Canvas.Left="30" Canvas.Top="30" Width="150" Height="75" Fill="#6CF"
11:       ToolTipService.ToolTip="Tooltip - ein neues Feature in Silverlight 2.0"/>
12: 
13:   </Canvas>
14: 
15: </UserControl>

[zum Anfang]