Guest User

Untitled

a guest
Apr 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. List<int> Items { get; set; } = new List<int>() { 1, 2, 3, 4, 5 };
  2.  
  3. <ListBox ItemsSource="{Binding Items}">
  4. <ListBox.ItemTemplate>
  5. <DataTemplate>
  6. <TextBox Text="{Binding Path=."}/>
  7. </DataTemplate>
  8. </ListBox.ItemTemplate>
  9. </ListBox>
Add Comment
Please, Sign In to add comment