aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/Popper.template
blob: 78a6084216168ead92164e142bc5360c2e4a410c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0"?>
<CheckBox Caption="{./Caption}" IsChecked="{²./IsPopped}" Foreground="{./Foreground}" Background="{./Background}">
	<Template>
		<Border Style="ControlBorder" Foreground="{./Foreground}" Background="{./Background}">
			<HorizontalStack Spacing="1">
				<Image Style="Icon" Margin="1" Width="9" Height="9"	
					MouseEnter="{Background=White}" MouseLeave="{Background=Transparent}"
					Background="{./Background}"
					Path="#Crow.Images.Icons.expandable.svg" SvgSub="{./IsChecked}"/>
				<Label Style="ControlCaption" Text="{./Caption}" />
			</HorizontalStack>
		</Border>
	</Template>
</CheckBox>