How to programmatically click a Header of a column

Is it possible to programatically fire a click of a column header in a list view?
LVL 5
jjacksnAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
TheAvengerConnect With a Mentor Commented:
You need to inherit the ListView control and then call the InvokeOnClick method (which is protected). For more details:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassinvokeonclicktopic.asp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.