开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜