aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/menuItem.itmp
blob: cb0918037d277a0033a317062942cff56e2d9732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<ItemTemplate DataType="Crow.Command" Path="ui/menuCommand.itmp"/>
<ItemTemplate DataType="Crow.CommandGroup" Data="Commands">
	<Popper PopDirection="Right" Caption="{Caption}" IsEnabled="{CanExecute}" Width="Stretched"
			MouseEnter="{Background=${ControlHighlight}}"
			MouseLeave="{Background=Transparent}">
		<Template>
			<Label Text="{./Caption}" Width="Stretched" Height="Stretched" Margin="3"
				Background="{./Background}"/>
		</Template>		
		<VerticalStack Margin="0" Name="ItemsContainer" Fit="true" Background="Jet"/>
	</Popper>
</ItemTemplate>