blob: f159a6b20a8c72baedc75d724852b585d9b0cc85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?xml version="1.0"?>
<ListBox Data="{TestList}" Width="Fit" Focusable="true" >
<Template>
<Scroller Name="ItemsScroller" Height="Stretched" Background="Onyx" Margin="10">
<VerticalStack Name="ItemsContainer" Orientation="Horizontal" VerticalAlignment="Top" Height="Fit" Background="Grey" Margin="20"/>
</Scroller>
</Template>
<ItemTemplate>
<!--<Label Text="{}" TextAlignment="Center" Font="mono, 9" Foreground="Black" Margin="10" Width="Stretched" Background="{}"/>-->
<ListItem Width="Stretched" Margin="1" CornerRadius="5"
Selected="{Background=Yellow}"
Unselected="{Background=Transparent}">
<Label Text="{}" TextAlignment="Center" Font="mono, 9" Foreground="Black" Margin="6" Background="{}" Width="Stretched" />
</ListItem>
</ItemTemplate>
</ListBox>
|