阅读背景:

如何将按钮关联到ListView.SelectedItem

来源:互联网 

I have a ListView ItemsSource bound to an ObservableCollection. I added a property via MVVM to track the ListView.SelectedItem. A button was added to my ListView (via GridViewColumn.CellTemplate) to create a button command which displays data regarding each object in my ObservableCollection. So the list of objects in my ObservableCollection (ListView column 1) is shown in the ListView with a corresponding button (ListView column 2).I have a ListView ItemsSource bound to an Obser




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: