开发者

VB.Net - select whole line in a multicolumn ListView and not only first item

开发者 https://www.devze.com 2023-02-13 11:35 出处:网络
I have a ListView in VB.Net. I want to use it to display a table of data. However I want to be able to click o开发者_如何学Pythonn a row and select it.

I have a ListView in VB.Net. I want to use it to display a table of data. However I want to be able to click o开发者_如何学Pythonn a row and select it. The component allows me to select a row only by clicking on the first item of each row.

  • Can I change that?
  • Is there a better component to display tables? (I've already tried the DataGridView. I don't like it's appearance)


This should simply be a matter of setting FullRowSelect on the control to be True.


Change the FullRowSelect property to True.

0

精彩评论

暂无评论...
验证码 换一张
取 消