Radenko Zec explains how you can
capture a picture of UI in WPF.
Often we need a way to capture picture of UI. For example if error occurs in our application we can take picture of UI and send this picture in error report.
Usual way in windows forms is calling Graphic.CopyFromScreen method. This way is not work very well in WPF. If we have some transparent controls on form this method will save image under transparent control.
So in WPF we will use GDI+ to take picture of UI.