blob: fb044b36a8160c971e38f9c54c8db89375f24f4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?xml version="1.0"?>
<Expandable IsExpanded="{²IsExpanded}" MouseDoubleClick="/onClickForExpand">
<Template>
<VerticalStack>
<Border CornerRadius="2" Margin="0" Height="Fit"
Foreground="Transparent"
MouseEnter="{Foreground=DimGrey}"
MouseLeave="{Foreground=Transparent}">
<HorizontalStack Spacing="1">
<Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
Path="{./Image}"
Visible="{./IsExpandable}"
SvgSub="{./IsExpanded}"
MouseEnter="{Background=LightGrey}"
MouseLeave="{Background=Transparent}"/>
<Border Width="16" Height="16" Foreground="Black" Background="DimGrey">
<Image Margin="2" Path="{GetIcon}" />
</Border>
<Label Text="{DesignName}"/>
</HorizontalStack>
</Border>
<Container Name="Content" Visible="false"/>
</VerticalStack>
</Template>
<HorizontalStack Height="Fit">
<Widget Width="8" Height="10"/>
<VerticalStack Height="Fit" Name="ItemsContainer"/>
</HorizontalStack>
</Expandable>
|