I need to build a specific interactive drawing "canvas".
In that canvas, user will be able to place graphic elements - points linked with lines.
I have a ready WinForms UserControl - pointsList
that represents the list of points presents in the canvas. PointsList is able to add and remove points, link them with a line.
pointsList
should be a floating(movable) and resizeable control in the canvas(like a windows on a screen).
My questions:
- What is the best choice for this "canvas" - a WPF UserControl or CustomControl?
- Is it possible to place a (floating) WinForm UserControl inside a WPF control?
- Will it be hard to rewrite a floatting and resizeable WPF user control inside an other?
EDIT
Better explanation of the "Floating Control":
Imagine a WPF Container (say, a Canvas). In this canvas you have a button. When you click the button, a "Floating Window Control" opens inside the Canvas.
This control is like a Windows Form, can be opened, moved, closed, resized, but all this inside the parent canvas. Something similar to a MDI parent and child forms, but the parent is not a form, but a WPF container (say Canvas).