blob: 556ce306a857bb3fe5adc0a89bf8825a1f58dff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<ListBox Data="{AllCommands}">
<Template>
<HorizontalStack Name="ItemsContainer" Margin="20" Background="DarkGrey" Fit="true"/>
</Template>
<ItemTemplate DataType="Crow.Command">
<Button Command="{}"/>
</ItemTemplate>
<ItemTemplate DataType="Crow.CommandGroup">
<VerticalStack Fit="true" Background="DarkRed" Margin="10">
<Label Text="{Caption}"/>
<ListBox Data="{Commands}">
<Template>
<VerticalStack Name="ItemsContainer" Margin="20" Background="DarkGrey" Fit="true"/>
</Template>
<ItemTemplate DataType="Crow.Command">
<Button Command="{}" />
</ItemTemplate>
</ListBox>
</VerticalStack>
</ItemTemplate>
</ListBox>
|