aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogViewer/ui/MenuButton.template
blob: 3a3e2c618aad6c93716a08b5b3f01444106fd40d (plain)
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0"?>
<Button Command="{}" Width="Stretched" BubbleEvents="All">
	<Template>
		<HorizontalStack Background="{./Background}" Width="Stretched" Height="Stretched" Margin="3" Spacing="6"
						MouseEnter="{Background=${ControlHighlight}}"
						MouseLeave="{Background=Transparent}">
			<Image Style="MenuIcon" Picture="{./Icon}" />
			<Label Text="{./Caption}" Width="Stretched" Height="Fit" Margin="1"/>
		</HorizontalStack>
	</Template>
</Button>