How to hide horizontal scroll bar in listview
C#
2
Posts
1
Posters
0
Views
1
Watching
I have a listview that I am using and I want to hide the horizontal scroll bar (at all times) but not the vertical one (should run in auto mode). How do I do this? The data can only be displayed in the details view.
I found the answer so that it will hide the scroll bar properly if the data fits in the list view. It will still appear when the data is wider than the control but at least now it looks better. this.lstGenerate.Columns[0].Width = -1;