blob: c73648060b0ec41ef678a29a0dc7881ae085e96b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?xml version="1.0"?>
<Border BorderWidth="1" Foreground="{./Foreground}" Background="{./Background}">
<VerticalStack>
<HorizontalStack Spacing="1" Height="Fit" Focusable="true" MouseDoubleClick="./onClickForExpand">
<Container Margin="1" Width="10" Height="10" Focusable="true" MouseClick="./onClickForExpand"
MouseEnter="{Background=LightGray}"
MouseLeave="{Background=Transparent}">
<Image
Path="#Crow.Images.Icons.expandable.svg"
Visible="{./IsExpandable}"
SvgSub="{./IsExpanded}"/>
</Container>
<Label Text="{./Caption}"/>
</HorizontalStack>
<Container Name="Content" Visible="false"/>
</VerticalStack>
</Border>
|