1,261

Disable Ability To Select Row In GridView (ListViewItem)

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg This

Attach event handler to the SelectionChanged event. Add the code below:

private void lvName_SelectionChanged(Object sender, RoutedEventArgs e) {
    lvName.SelectedIndex = -1;
    – or –
    lvName.SelectedItem = null;
}


prajapat