Hi,
I have a WPF application in which I rehost the .Net 4.0 Workflow designer alongside a RadTreeView. Items on the RadTreeView are dragged onto the designer and, when dropped, morph into self configuring workflow activities based on the context from which they were dragged.
I am using Telerik's DragDropManager and the AddDragEnterHandler and AddDragOverHandler methods to add handlers to the Workflow Designer View and that is working perfectly. However...
I need to control the drag cue over the designer and that is proving to be more problematic.
I first tried the following:
However the Designer_DragQueryHandler delegate would never fire.
So I thought it must be that the designer is handling that event before my delegate can be executed, so I tried the following:
This did not work either.
I am at a dead end on this now and would greatly appreciate any direction on how I might achieve this.
Thanks in advance
Chris
I have a WPF application in which I rehost the .Net 4.0 Workflow designer alongside a RadTreeView. Items on the RadTreeView are dragged onto the designer and, when dropped, morph into self configuring workflow activities based on the context from which they were dragged.
I am using Telerik's DragDropManager and the AddDragEnterHandler and AddDragOverHandler methods to add handlers to the Workflow Designer View and that is working perfectly. However...
I need to control the drag cue over the designer and that is proving to be more problematic.
I first tried the following:
RadDragAndDropManager.AddDragQueryHandler(
this
.Designer.View,
this
.Designer_DragQueryHandler);
However the Designer_DragQueryHandler delegate would never fire.
So I thought it must be that the designer is handling that event before my delegate can be executed, so I tried the following:
this
.Designer.View.AddHandler(RadDragAndDropManager.DragQueryEvent,
new
EventHandler<DragDropQueryEventArgs>(
this
.Designer_DragQueryHandler),
true
);
This did not work either.
I am at a dead end on this now and would greatly appreciate any direction on how I might achieve this.
Thanks in advance
Chris