how to fix the column width of a listview in c# windows form?

后端 未结 4 855
野性不改
野性不改 2021-01-13 20:43

i have a listview i need to fix the column width of the listview so that at run time user cannot drag the columnheaders and resize it.....what is the procedure?? i have sear

4条回答
  •  [愿得一人]
    2021-01-13 21:01

    Use ObjectListView. That not only allows individual columns to be fixed width, but to have minimum and maximum widths as well. It does the hard work of catching all cases, including Ctrl-Numpad-+, so that they cannot be circumvented.

提交回复
热议问题