摘要:
最近在学习MVVM模式,我想将ListBox的ItemTemplate中的按钮的Click事件改为用DelegateCommand实现,发现无从下手了:View的内容:<Grid x:Name="LayoutRoot"> <ListBox x:Name="listBox1" Background="{x:Null}" ScrollViewer.VerticalScrollBarVisibility="Disabled" ItemsSource="{Binding ButtonModelL 阅读全文