How to handle drag/drop without violating MVVM principals?

前端 未结 5 696
时光说笑
时光说笑 2020-12-24 07:40

Currently I have in my XAML


All of

5条回答
  •  误落风尘
    2020-12-24 08:14

    This might also be of some help to you. The attached command behavior library allows you to convert any event(s) into a command which will more closely adhere to the MVVM framework.

    http://marlongrech.wordpress.com/2008/12/13/attachedcommandbehavior-v2-aka-acb/

    Using this is extremely easy. And has saved my bacon numerous times

    Hope this helps

提交回复
热议问题