1
Vote

Can all Datagrid content be printed with its original format with WPF Print Engine ?

description

Can all Datagrid content be printed with its original format with WPF Print Engine ?
I have loaded all the dlls in my project and I call it with the following code and it does not show me anything


var visualSize = new Size(this.dataGrid2.ActualWidth, this.dataGrid2.ActualHeight);
        var printControl = PrintControlFactory.Create(visualSize, this.dataGrid2);
        printControl.ShowPrintPreview();

comments