Dragable objects in WPF in an ItemsControl?

前端 未结 2 835
广开言路
广开言路 2021-01-05 23:01

I want to be able to implement an ItemsControl with dragable items. The reason for the ItemsControl is so I can bind to my ViewModel in the background.

I\'ve tried

2条回答
  •  忘掉有多难
    2021-01-05 23:33

    Try setting up the Canvas binding properties via a style

    
    

    Then the thumb becomes:

提交回复
热议问题