blob: d3732aee4ec3cb980128ca705f4cfb3ea190da8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?xml version="1.0"?>
<Expandable Caption="{Name}" IsExpanded="{IsExpanded}" Background="Grey" Foreground="Black">
<Template>
<VerticalStack>
<HorizontalStack Spacing="1" Height="Fit" MouseDoubleClick="./onClickForExpand" Background="Grey">
<Container Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
MouseEnter="{Background=LightGrey}"
MouseLeave="{Background=Transparent}">
<Image
Path="#Crow.Icons.expandable.svg"
Visible="{./IsExpandable}"
SvgSub="{./IsExpanded}"/>
</Container>
<Label Foreground="White" Text="{./Caption}"/>
</HorizontalStack>
<Container Name="Content" Visible="false"/>
</VerticalStack>
</Template>
<VerticalStack Spacing="1" Height="Fit" Name="ItemsContainer"
Margin="0" VerticalAlignment="Top"/>
</Expandable>
|