Printing in WPF C#

PrintDialog in wpf


Entire Window Print
PrintDialog printDlg = new PrintDialog();
printDlg.PrintVisual(this, "Window Form Printing"); 

Grid Print
PrintDialog printDlg = new PrintDialog();
printDlg.PrintVisual(gridName, "Grid Printing");

User Control Print
PrintDialog printDlg = new PrintDialog();
printDlg.PrintVisual(ucControl1, "User Control Printing"); 
Printing in WPF C# Printing in WPF C# Reviewed by Bhaumik Patel on 1:35 AM Rating: 5