how to reference drageventArgs in xaml as command parameter with silverlight

Posted by Shaggy on Stack Overflow See other posts from Stack Overflow or by Shaggy
Published on 2010-05-12T11:48:14Z Indexed on 2010/05/12 11:54 UTC
Read the original article Hit count: 460

Hi,

on my silverlight 4 app I am trying to link up the drop event on a list box to my viewmodel. I am using expression blend 4's event trigger and invokecommandaction to hook up the drop event. Setting break points on my viewmodel, I can see the relevant function is fired when I drag a file onto the list box, however I cant seem to get access to the drageventArgs. I tried sending the entire listbox as a command parameter, and that doesn't work.

Any ideas?

Thanks

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about mvvm