Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DisplayMemberPath="Name"
- public void InputImage()
- {
- var children = grid.Children;
- foreach (var child in children)
- {
- var image = child as Image;
- if (image is Image)
- {
- Names.Add(image.Name);
- }
- }
- imglist.ItemsSource = Names;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement