How to connect FastReport using a WPF application

2023-11-08

With the long-awaited release of FastReport WPF, you no longer need to use FastReport .NET to work with WPF-based projects.

Not long ago, it was pretty inconvenient to use WPF in FastReport .NET. Not everything worked smoothly; there were issues with connecting FastReport.dll and many other things. We have rethought the approach and made the process more convenient and practical. Let's find out about the new method.

First, we need to create a WPF application. We go to Visual Studio and create a project in it. After creation, we will connect the required NuGet package. We are interested in FastReport.WPF. It can be obtained with our private NuGet server.

Connected NuGet package

After we have connected the required NuGet package, we need to connect the namespace. Let's write code in WPF form:

xmlns:Designer="clr-namespace:FastReport.Design;assembly=FastReport.WPF"

Next, we will create Designer Control. First, we open and close the DockPanel tags and create the Designer itself in them. We should get something like the following example:

<DockPanel>
 <Designer:WpfDesignerControl x:Name="designer"/>
</DockPanel>

If we look at the entire form code, we should get the following:

Full form code

If we look at the form, we will see that we have a designer, and that’s what we need. It means that we are moving in the right direction.

Designer in the form

We can confidently launch our project. After loading, we will see the ready-to-use designer.

Work designer

Connecting FastReport to a WPF application has become much more convenient. You no longer need to create intermediate code to run WPF applications with WinForms components from FastReport .NET.

.NET Visual Studio FastReport WPF NuGet
12 Ekim 2026, Pazartesi

FastReport .NET'te Greenplum Database'e bağlanma

Greenplum Database’i FastReport .NET’e nasıl bağlayacağınızı öğrenin: Npgsql ile eklentiyi derleme, rapor tasarımcısına entegre etme ve bağlayıcıyı uygulamanın C# kodunda kaydetme.
12 Ekim 2026, Pazartesi

FastReport .NET'ten Erişilebilir PDF'ye Bir Rapor Nasıl Dışa Aktarılır (PDF/UA-1)

FastReport .NET'ten bir raporu PDF/UA-1 uyumlu bir dosya olarak dışa aktarma: kullanıcı arayüzü ve C# kodu aracılığıyla yapılandırma, SemanticRole ve AltText rolleri ile doğrulama.
12 Ekim 2026, Pazartesi

GS1 DataBar Genişletilmiş Yığılmış: FastReport .NET'te Özellikler ve Yapılandırma

GS1 DataBar Expanded Stacked barkod kılavuzu: GTIN, son kullanma tarihleri, ağırlıklar ve parti numaralarının çok satırlı kodlaması. Veri yapısı, tarama ve FastReport .NET Segmentleri yapılandırması hakkında bilgi edinin.

© 1998-2026 Fast Reports Inc.