WPF: Disable ListBox, but enable scrolling

前端 未结 12 2277
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-05 05:33

Been banging my head against this all morning.

Basically, I have a listbox, and I want to keep people from changing the selection during a long running process, but

12条回答
  •  天命终不由人
    2021-01-05 06:14

    This worked best for me. It's easy and whole code is in XAML which is IMO very neat.

    
      
        
        
    
    

提交回复
热议问题