WPF: Disable ListBox, but enable scrolling

前端 未结 12 2068
佛祖请我去吃肉
佛祖请我去吃肉 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:13

    I found that putting a disabled ListBox in a ScrollViewer with auto scrolling enabled gives the desired effect.

提交回复
热议问题