Skip to content

Instantly share code, notes, and snippets.

Created October 29, 2010 09:48
<UserControl x:Class=ShowList
xmlns:my='clr-namespace:MyStuff'>
<ItemsCollection x:Name='listShow'>
<ItemsCollection.ItemTemplate>
<DataTemplate>
<Grid>
...The rest of your display here, using the binding to generate view.
<label Content="{Binding Converter={x:Static my:ShowList.ElementIndex}}"/>
</Grid>
</DataTemplate>
</UserControl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment