Listview, Column click, what column am I in?

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
 
A

Alex Feinman [MVP]

It is in the ColumnClickEventArgs.Column
ColumnClickEventArgs is passed to your even handler as the second parameter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top