Using MS ReportViewer in WPF

前端 未结 3 741
野性不改
野性不改 2020-12-01 05:31

I\'m about to start using the MS ReportViewer in a WPF application by placing the ReportViewer in a WindowsFormsHost.

Is this the correct approach? What is the best

3条回答
  •  天命终不由人
    2020-12-01 06:08

    Please note that you can use both WPF-Windows and Windows-Form-Windows in the same application.

    So you can avoid using WindowsFormsHost if you put the ReportViewer in a seperate Windows-Forms-Window that you open from your WPF-Window with ShowDialog.

    Then you can use the ReportViewer also at design time.

提交回复
热议问题