Take a window screenshot with borders
PrintDialog pd = new PrintDialog();
if (pd.ShowDialog().GetValueOrDefault() == true){
pd.PrintVisual(Win, Win.Title);}
But it won't print the borders.
I then tried the ugly PrintWindow command but it won't print the content, just the borders with a black part where the content should be.
Now I can merge both using SystemParameters for border size but it's the ugliest system I ever coded.
I want to know how to, in wpf, get a screen shot of a window and it's borders.

