May 18th, 2012, 08:45 AM
displaying a canvas at two positions simultaneously
In C#, using WPF components, Is it possible to display a canvas (whose contents change at run time based on user input) at two positions on the screen? or in two windows? So basically, whatever happens in the canvas positioned at one place happens in the canvas positioned in the other place.
May 18th, 2012, 02:55 PM
Re: displaying a canvas at two positions simultaneously
Sure, use the MV-VM pattern. Put the canvas into a control. In the xaml, place two instances of the control and bind each instance to the view model.
When the user makes changes, the view model is update (and each of the 'canvas' control objects will be updated).
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!