Last active
August 29, 2015 14:26
-
-
Save alexandru-calinoiu/c30f608c0b8cbc53a27c to your computer and use it in GitHub Desktop.
Add the list of devices in the second row
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Border Grid.Row="1" Style="{DynamicResource ListScreenContainerStyle}" | |
BorderThickness="{DynamicResource ListBorderThickness}"> | |
<ListView SelectionMode="Single" | |
ItemsSource="{Binding Path=Devices, Mode=OneWay}" | |
Style="{StaticResource VirtualisedMetroListView}" | |
BorderThickness="0"> | |
<ListView.ItemTemplate> | |
<DataTemplate> | |
<ContentControl cal:View.Model="{Binding}" /> | |
</DataTemplate> | |
</ListView.ItemTemplate> | |
<ListView.ItemContainerStyle> | |
<Style TargetType="{x:Type ListViewItem}"> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="{x:Type ListViewItem}"> | |
<!-- Todo: add control template --> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
</ListView.ItemContainerStyle> | |
</ListView> | |
</Border> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment