Very simple question. I want to take a picture/image of a usercontrol very often and display that picture somewhere else in my application. I am not going to save the image to the disk.
The question is, how do I take a image of usercontrol?
Very simple question. I want to take a picture/image of a usercontrol very often and display that picture somewhere else in my application. I am not going to save the image to the disk.
The question is, how do I take a image of usercontrol?
Easy, use a VisualBrush. Just point the VisualBrush's Visual property to the control that you want to paint somewhere else. It will update automatically.
Example http://msdn.microsoft.com/en-us/library/ms771563.aspx