1
votes

I am developing a whiteboard application in WPF.

How can I draw a rectangle and circle/ellipse by dragging the mouse like we do in Paint by dragging the mouse pointer ?

I am using WPF canvas for drawing.

2

2 Answers

1
votes

To run WPF-DrawTools you have to:

  1. Let the VS to convert the project.
  2. Set appropriate NetFramework version (say, Net 4.5).
  3. Add references to correspondent libraries (e.g., PresentationCore) if VS could not find them itself.