syncfusion-wpf-pdf-viewer

Installation
SKILL.md

Syncfusion WPF PDFViewer – UI Sample Generator

Generate C# Code for the User's Project (default)

Trigger keywords: "how to", "code sample", "show me", "example", "snippet", "integrate", "wpf PdfViewer", "create sample".

Purpose: Generate clean, ready-to-use C# and XAML code snippets that users can directly insert into their WPF applications when working with the Syncfusion WPF PdfViewer control.

Workflow:

  1. Build the C# code using snippets provided in the references/*.md files.

  2. Before generating the sample, ask the user whether the code should be inserted into an existing XAML file in their WPF project or created as a new WPF project application.

  3. If the user chooses to create a new WPF project, ask them which target framework they want to use:

    • .NET Framework (e.g. 4.6, 4.7, 4.8) — uses Syncfusion.PdfViewer.WPF and targets classic .NET Framework.
    • .NET Core / .NET (e.g., .NET 8, .NET 10) — uses Syncfusion.PdfViewer.WPF with <TargetFramework>net8.0-windows</TargetFramework> (or the selected version).
    • Based on the user's choice, generate the .csproj file with the correct <TargetFramework> value, and tailor any framework-specific code (e.g., namespace imports, NuGet package versions, startup code) accordingly.
  4. XAML generation rules — MANDATORY: analyze the reference files BEFORE writing any XAML:

    ⚠️ STRICT RULE — NO EXCEPTIONS: Open and read the relevant references/*.md file(s) for the requested feature before producing any XAML.

Related skills

More from syncfusion/pdf-viewer-sdk-skills

Installs
18
GitHub Stars
1
First Seen
Mar 26, 2026