开发者

Datagrid column header click and drag-and-drop

I want to be able to run a command when a datagrid column header is clicked. The classic way is to set column header style with a button. But doing it so causes loosing ability to reorder columns.

Using MouseLeftButtonUp event for click does not work because the mouse is开发者_如何学编程 captured in the header.

How can I manage to support both click and drag-and-drop events in Silverlight's datagrid column header?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜