开发者

How can I add a listView column header a click event programmatically

开发者 https://www.devze.com 2023-03-04 19:02 出处:网络
I am building a dynamic listview and I am trying to achieve the same thing as in the picture bellow.

I am building a dynamic listview and I am trying to achieve the same thing as in the picture bellow.

How can I add a listView column header a click event programmatically

How can 开发者_StackOverflow社区I do that programmatically. I have tried:

How can I add a listView column header a click event programmatically


Probably this:

listView.AddHandler(GridViewColumnHeader.ClickEvent, new RoutedEventHandler(Header_Click));
0

精彩评论

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

关注公众号