WindowsFormsHost: how to make it to be draggable inside the canvas

L

Lily

I have a WindowsFormsHost with some WindowsForm chart in a canvas. I don't
know how to make it draggable inside the canvas so user can move it around.
 
L

Lily

My answer is no. When mouse goes over WindowsFormsHost the parent of the
WindowsFormHost does not see the mouse events any more. So there is no way we
can drag WindowsFormsHost inside canvas. I have done lots of searches these
days. I could not find any example.

Please correct me if you think I am wrong. If you find an example please let
me know.
 
L

Lily

My answer is no. When mouse goes over WindowsFormsHost the parent of the
WindowsFormHost does not see the mouse events any more. So there is no way we
can drag WindowsFormsHost inside canvas. I have done lots of searches these
days. I could not find any example.

Please correct me if you think I am wrong. If you find an example please let
me know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top