I'd like to try to create a diagram making tool (something like entity-relation diagram you can create in SQL Server 2005, or class diagrams you can do in Microsoft Visual Studio)
Ie. I'd like to create boxes, put text in them, be able to edit this text and draw lines between boxes.
I never did this kind of programming before so I don't know where to start.
Do I use XAML or create a canvas and go into graphics programming?
I know there are some diagram tools out there but I'd really like to find out of these things by doing it myself.
WPF/XAML are a great place to start for something like this. You'll want to study WPF in general, with a focus on custom controls (for tables) and drawing lines (for the relationships.)
Well, here is the basis of one on CodeProject, with source and a tutorial. For WPF.
Also see this question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With