aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/icoToggle.tmp
blob: bb4e3a09006e7640fc9ee4924bf8b75974dcb430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8" ?>
<Border Name="Content" Margin="2" Width="40" Height="40" BorderWidth="1"
				Background="${ContainerBackground}" Tooltip="{./Caption}"
				Foreground="Transparent" CornerRadius="{./CornerRadius}"
				MouseEnter="{Foreground=White}"
				MouseLeave="{Foreground=Transparent}"
				MouseDown="{Background=${ControlHighlight}}"
				MouseUp="{Background=${ContainerBackground}}"
				ClipToClientRect="true">
		<Group DataSource="{./Command}" >
			<Widget Background="${ControlHighlight}" IsVisible="{IsToggled}" CornerRadius="15"/>
			<Image Style="icon" Name="caption" Path="{./Icon}" />
		</Group>
</Border>