如何禁用WPF ListBox中的水平滚动?


119

这似乎是一个荒谬的简单问题,但Google和Stack Overflow搜索没有任何结果。当项目占用的水平空间比框中可用的空间多时,如何在WPF 列表框中禁用水平滚动?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.