Print a XamDataGrid
By [)ia6l0 iii
Use the Report object to print the XamDataGrid
The sample code belows shows the user of Report object to print a XamDataGrid
Report rptObject = new Report();
rptObject.ReportSettings.Margin = new Thickness(10, 10, 10, 10);
EmbeddedVisualReportSection sectionGrid = new EmbeddedVisualReportSection(xamDataGrid1);
rptObject.Sections.Add(sectionGrid);
rptObject.Print(true, false);
Related FAQs
Use the Report object to print preview the XamDataGrid
Print a XamDataGrid (1564 Views)