V
V
Vladislav Sofienko2017-05-31 19:12:08
WPF
Vladislav Sofienko, 2017-05-31 19:12:08

How to print data from Datagrid?

How to print data from Datagrid?
I wrote like this, but it only prints the element itself in its current state on the form.

PrintDialog printdlg = new PrintDialog();
if (printdlg.ShowDialog().GetValueOrDefault())
{
            printdlg.PrintVisual(dataGrid, "Печать отчёта по тканям на кладе");
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question