|
is the collection going to change? if yes then BindableCollection in CM (which is derived from ObservableCollection).
BindableCollection<Item> _items= BindableCollection<Item>();
_items.AddRange(jsoncontext.ToList());
public BindableCollection<Item> Items{get;set;} //contents left for drill
ListView control or your preference, do as necessary to show your data that you want with standard template
<!--Convention-->
<ListView x:Name="Items">
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=Details.SubTitle}" />
</DataTemplate>
</ListVIew.ItemTemplate>
</ListView>
<!--Non-convention-->
<ListView ItemsSource="{Binding Items}" >
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=Details.SubTitle}" />
</DataTemplate>
</ListVIew.ItemTemplate>
</ListView>
|