Click here to Skip to main content
15,919,479 members

Comments by Member 11475637 (Top 2 by date)

Member 11475637 19-Sep-15 12:37pm View    
I already show that but doen't help.
Member 11475637 19-Sep-15 11:36am View    
Thanks for your prompt action. But can you alaborate how?? i am new to wpf.

private void btnPrint_Click(object sender, RoutedEventArgs e)
{
PrintDialog printDlg = new PrintDialog();
if (printDlg.ShowDialog() == true)
{

printDlg.PrintVisual(dataGrid1, "A WPF printing");


}

}