aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/menuItem.itmp
blob: a129769aa7903505004c786b111b4e5694788af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<ItemTemplate DataType="Crow.Command" Path="Interfaces/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>