microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.16k stars 666 forks source link

Horizontal scrollbar not visible in Treeview #8825

Open eprach opened 10 months ago

eprach commented 10 months ago

Describe the bug

Hi team,

I am working on an application with WinUI 3 and I need to display 2 Treeview controls. At the moment, when there are to many nodes on my treeviews, I see the vertical scrollbars as expected. But, when node's content is too long, I do not see the horizontal scrollbar.

Could you please help me pointing the issue / the right way to implement my requirement?

Steps to reproduce the bug

Below my code:

`

eprach commented 5 months ago

Hi team,

Maybe an update on this?

Thanks!

Tartarusome commented 1 month ago

try these properties OverlayScrollbars VerticalScrollMode HorizontalScrollMode HorizontalScrollBarVisibility

joelspadin commented 1 month ago

I have the same issue. None of the properties on TreeView.ScrollViewer seem to do anything. Setting ScrollViewer.VerticalScrollMode="Disabled" doesn't stop it from scrolling vertically either.