G
Guest
I am working on a feature to drag images into a flowdocument, and need the
ability to drag them out of the document, or drag them around in the
container panel to allow for easy reordering of the images within the
document.
I have created a DragDropManager to handle this action, and can drag the
image into the Flowdocument (targeting a WrapPanel that is contained in a
BlockUIContainer) without issue. However, when I drag the image back out it
appears that the flowdocument is interpreting this action as an attempt to
highlight the WrapPanel and is impacting the event firing of the WrapPanel
which causes DragDrop manager (handling the drag and drop events for the
WrapPanel) to be unaware of the user's actions. If I highlight the WrapPanel
and then drag the image everything works fine.
Curious on the best workaround for this issue? Is there a way to deactivate
the highlighting functionality of the flowdocument, or does anyone have a
different direction that I might try?
ability to drag them out of the document, or drag them around in the
container panel to allow for easy reordering of the images within the
document.
I have created a DragDropManager to handle this action, and can drag the
image into the Flowdocument (targeting a WrapPanel that is contained in a
BlockUIContainer) without issue. However, when I drag the image back out it
appears that the flowdocument is interpreting this action as an attempt to
highlight the WrapPanel and is impacting the event firing of the WrapPanel
which causes DragDrop manager (handling the drag and drop events for the
WrapPanel) to be unaware of the user's actions. If I highlight the WrapPanel
and then drag the image everything works fine.
Curious on the best workaround for this issue? Is there a way to deactivate
the highlighting functionality of the flowdocument, or does anyone have a
different direction that I might try?