Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#WPFdrawing
I want to represent the layout of components on a circuit board by drawing multiple rectangles on a WPF canvas (if canvas is the best container). Sizes and geometries of components are maintained in a class already developed. Can anyone suggest an approach to drawing shapes in the code behind, or point to a similar project? Thanks.
Posted 4-Jun-12 6:45am
manujaggi at 17-Apr-13 2:16am
I need to create a wpf diagram designer which consist multiple layers design (user can add layers according to need and can switch among layers and can also show/ hide layers) and each layer can have different diagram but they are party of single design. Now my question is that how we can create multiple layers like we have different layers in photoshop where layers are used to work on individual parts of an image while not affecting other parts. And the same thing I have to create in wpf diagram designer if it's possible and also looking for any alternative solution.... ..plz revert

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Read this[^] for the basics on drawing with WPF. Also read this[^] article.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Sergey Alexandrovich Kryukov 750
1 OriginalGriff 543
2 Abhinav S 318
3 thatraja 245
4 Tadit Dash 140
0 Sergey Alexandrovich Kryukov 8,322
1 OriginalGriff 4,790
2 Peter Leow 3,784
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107

Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 4 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid