How to catch click on ListView column header?

Last post 11-10-2008 9:04 by neil. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-10-2008 2:13

    • Anton
    • Top 200 Contributor
    • Joined on 11-03-2008
    • Posts 4

    How to catch click on ListView column header?

     

    Hello to everyone!

    How to catch click on ListView column header and determine what column it was?

    Thanks for your help
  • 11-10-2008 9:04 In reply to

    • neil
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-30-2007
    • North Wales
    • Posts 1,349

    Re: How to catch click on ListView column header?

    For starters, you should examine the object model and read the documentation. If you do that, you'll find the ColumnClick event on the ListView class. In your ColumnClick event handler, you should check the Column property of the ColumnClickEventArgs object passed to the handler.

    This is basic stuff that you can easily find out for yourself.

    Neil Cowburn
    OpenNETCF Consulting

      
Page 1 of 1 (2 items)