When a TreeViewItem is selected, the horizontal and vertical scrollbars adjust so it’s in view. I like the vertical scrollbar behavior, but I want to stop the horizontal one. Disabling the horizontal scrollbar has no effect.
When a TreeViewItem is selected, the horizontal and vertical scrollbars adjust so it’s in
Share
Try using the ScrollViewer.HorizontalScrollBarVisability and setting it to Disabled.