0
我使用WPF中的列表視圖這樣的:ListView中如何自動更新所選行保存sucess在WPF MVVM後
<ListView x:Name="lv" ItemsSource="{Binding Path=xyz}" SelectedItem="{Binding SelectedRow}" >
<ListView.View>
<GridView>
<GridViewColumn Width="50" DisplayMemberBinding="{Binding }" />
<GridViewColumn Width="140" DisplayMemberBinding="{Binding }" />
<GridViewColumn Width="140" DisplayMemberBinding="{Binding }" />
<GridViewColumn Width="120" DisplayMemberBinding="{Binding }" />
</GridView>
</ListView.View>
</ListView>
在保存在選定的行應該跳到形式的點擊next row.Like currentselectedrow + 1。
如何在WPF MVVM中實現此目的?