ListView DragItemsStarting Does Not Fire

Topics: Actions & Coroutines, Getting Started, UI Architecture
Oct 21, 2012 at 6:39 AM


I'm a noobie trying out Caliburn Micro.

I created a ListView in a WinRT project. I have tested wiring up other events in ListView to my ViewModels and they seem to work but when I tried the DragItemsStarting event, DeleteVoiceFile just does not get called. I have set  CanDragItems="True" and AllowDrop="True". If I use Code Behind instead of Caliburn action, the code behind does work.

cal:Message.Attach="[Event DragItemsStarting] = [Action DeleteVoiceFile($eventArgs )]

Is there anything I'm doing wrong?

Oct 25, 2012 at 3:11 AM

I can't see anything you're doing wrong here, and I can reproduce the issue. 

If I can solve it I'll let you know.

Oct 25, 2012 at 3:32 AM

It looks like this is an issue in Windows.UI.Interactivity caused by the fact that DragItemsStartingEventArgs isn't a RoutedEvent. I've raised this as an issue with them ( and will continue to see what can be done.

Oct 26, 2012 at 1:23 AM

Thanks very much for your help, Nigel!