在SelectionChanged事件中,添加两行代码,取消点击Item后的选中效果
void GridViewSelectionChanged(object sender, SelectionChangedEventArgs e) { var value = sender as GridView; value.SelectedItem = null; }
在SelectionChanged事件中,添加两行代码,取消点击Item后的选中效果
void GridViewSelectionChanged(object sender, SelectionChangedEventArgs e) { var value = sender as GridView; value.SelectedItem = null; }