My challenge is to create a WPF application which allows the user to add / place a set of controls (gauges, charts, etc.) dynamically on a canvas at runtime and save the view (control coordinates etc.) they have designed. Those controls will display real time information from connected machines. I'd like to know if there are any commercial or open source solutions available for this scenario. I am also grateful for any hints on where to start.
Asked
Active
Viewed 1,092 times
-3
-
You can easily do this yourself in WPF. No need to pay thousands of dollars in third parties. – Federico Berasategui Oct 02 '13 at 14:35
-
Any hints on where to start? – hoetz Oct 02 '13 at 14:36
-
I am happy to report that we shipped the product that initiated this question :) – hoetz Apr 22 '16 at 08:27
2 Answers
2
This is pretty simple stuff. If you use a Canvas and bind it to a list of items (x, y, rotation, z order, data source etc), then use ItemTemplates to style the individual control styles, then serialize the whole lot for saving/loading.
Edit: this post might give you some pointers Is it possible to bind a Canvas's Children property in XAML?

Community
- 1
- 1

Steven Robbins
- 26,441
- 7
- 76
- 90
0
You could also try the SharpDevelop WPF Designer https://github.com/icsharpcode/WpfDesigner

Jochen Kühner
- 1,385
- 2
- 18
- 43