Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get height of horizontal scrollbar in a ListView

Tags:

c#

Can anyone tell me how can I get the height of horizontal scrollbar in ListView in C#? is it the same as the standard Horizontal scrollbar, if so is there any windows function that return that? basically I'm using ListView with OwnerDraw and want to know exactly how big is my client area which excludes ColumnHeader area and HorizontalScrollbar area.

Thanks

like image 414
Jefe Avatar asked Dec 13 '22 03:12

Jefe


1 Answers

SystemInformation.HorizontalScrollBarHeight

like image 140
Fredrik Mörk Avatar answered Jan 05 '23 10:01

Fredrik Mörk