blob: 99d7b6a9582aced73bb37bac3b4ab1234f7e71a7 (
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
|
<ItemTemplate>
<GraphicObject Height="16" Background="Red"/>
</ItemTemplate>
<ItemTemplate DataType="System.IO.FileInfo">
<HorizontalStack Focusable="true" Height="Fit">
<Image Margin="2" Width="16" Height="16"
Path="#Crow.Icons.file.svg"/>
<Label Text="{Name}" Width="Stretched"
MouseEnter="{Background=BlueCrayola}"
MouseLeave="{Background=Transparent}"/>
</HorizontalStack>
</ItemTemplate>
<ItemTemplate DataType="System.IO.DirectoryInfo">
<Border Foreground="Transparent" Focusable="true" Height="Fit">
<HorizontalStack
MouseEnter="{Background=BlueCrayola}"
MouseLeave="{Background=Transparent}">
<Image Margin="2" Width="16" Height="16"
Path="#Crow.Icons.folder.svg"/>
<Label Text="{Name}" Width="Stretched"/>
<Label Text="{LastAccessTime}" />
</HorizontalStack>
</Border>
</ItemTemplate>
|