blob: c7e2fa06c08038cf084e4bed221c3d29898eedee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?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:Grey|0.9:Grey|1:Black};{caption.Foreground=White}"
MouseLeave="{Foreground=Transparent};{caption.Foreground=LightGrey}"
MouseDown="{Foreground=vgradient|0:Black|0.05:Grey|0.85:Grey|1:White}"
MouseUp="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black}">
<HorizontalStack Margin="2">
<Image Style="Icon" Path="{./Icon}"/>
<Label Font="{./Font}" Name="caption" Margin="3" Foreground="LightGrey" Text="{./Caption}"/>
</HorizontalStack>
</Border>
|