aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/menuItem.template
blob: cf19b4fea8b6edc5ac10334dbce4e54af1a8bb9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<Popper PopDirection="Top" Caption="{Caption}" Width="Stretched" Height="Stretched" IsPopped="{²./IsOpened}"
				MouseEnter="{Background=${ControlHighlight}}"
				MouseLeave="{Background=Transparent}">
	<Template>
		<Container Background="{./Background}" Width="Stretched" Height="Stretched" Margin="6">
			<Label Text="{./Caption}" HorizontalAlignment="Left" />
		</Container>
	</Template>
	<VerticalStack Margin="0" Name="ItemsContainer" Fit="true" Background="${MenusBackground}" />
</Popper>