WPF ListView with buttons on each line

后端 未结 3 2135
渐次进展
渐次进展 2020-12-04 22:40

I have a list of Games which just has an ID, a Date, and a Time. I am setting this list as the DataContext.<

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 22:54

    With a ListBox.ItemTemplate. Then in your click event you can get the object via DataContext.

        
            
                

提交回复
热议问题