blob: b05567ac1b15413451eba670ec42980d768c1746 (
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" Width="Stretched"
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="1">
<Image Style="Icon" Path="{./Icon}"/>
<Label Font="{./Font}" Name="caption" Margin="2" Foreground="LightGrey" Text="{./Caption}"/>
</HorizontalStack>
</Border>
|