aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/Button.template
blob: 92ddb39cf07c729b61ff496459836b9c3dcb8764 (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0"?>
<Border Background="{./Background}" MinimumSize="50,20" Name="Content"
	Foreground="Transparent" CornerRadius="{../CornerRadius}" BorderWidth="1"
	MouseEnter="{Foreground=vgradient|0:White|0.2:Gray|0.9:Gray|1:Black;caption.Foreground=White}"
	MouseLeave="{Foreground=Transparent;caption.Foreground=LightGray}"
	MouseDown="{Foreground=vgradient|0:Black|0.05:Gray|0.85:Gray|1:White}"
	MouseUp="{Foreground=vgradient|0:White|0.2:Gray|0.9:Gray|1:Black}"		    
	>
	<Label Font="{./Font}" Name="caption" Margin="3" Foreground="LightGray" Text="{./Caption}"/>
</Border>