Can I somehow disable ListView items navigation through keyboard (arrow ke开发者_StackOverflowys), and leave navigation with mouse and in code? Im new to WPF, but have some experience with WinForm so any tips?
Register the listView_PreviewKeyDown Event and set
    private void listView1_PreviewKeyDown(object sender, KeyEventArgs e)
    {
        e.Handled = true;
    }
For further infos on the pressed key (e.g. to disable only special keys) check the KeyEventArgs e.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论