Listview, Column click, what column am I in?

  • Thread starter Thread starter David Webb
  • Start date Start date
D

David Webb

Hi,

In the Listview, I'm using the Column Click event to allow users to
sort by a particular column, similar to Windows Explorer. How do I
determine which column the user has clicked? E.g. If they are in
column 2, how do I know that column 2 was clicked?

Regards,

David.
VB.NET CF
 
It is in the ColumnClickEventArgs.Column
ColumnClickEventArgs is passed to your even handler as the second parameter
 
Back
Top