How to hide the vertical scroll bar in a .NET ListView Control in Details mode

前端 未结 6 1559
终归单人心
终归单人心 2020-12-01 17:11

I\'ve got a ListView control in Details mode with a single column. It\'s on a form that is meant to only be used with the keyboard, mostly with the up/down arrows for scrol

6条回答
  •  再見小時候
    2020-12-01 17:37

    If ShowScrollBar doesn't work, I'm not sure how to do it.

    You could put the ListView in a panel and make the ListView wider than the panel so that the scrollbar is cut off (check SystemInformation.VerticalScrollBarWidth), but that's a horrifyingly ugly hack.

提交回复
热议问题