Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-wpf-pdf-viewersyncfusion WPF PDF viewer 搜索

Agent Skill

syncfusion-wpf-pdf-viewer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

333

周安装

14

GitHub Stars

公开资料未说明

下载量

116
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-wpf-pdf-viewer(syncfusion WPF PDF viewer 搜索)
来源仓库:https://github.com/syncfusion/pdf-viewer-sdk-skills
仓库路径:skills/syncfusion-wpf-pdf-viewer
安装命令:
npx skills add https://github.com/syncfusion/pdf-viewer-sdk-skills --skill syncfusion-wpf-pdf-viewer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/pdf-viewer-sdk-skills --skill syncfusion-wpf-pdf-viewer

简介

用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 支持基于关键词、任务场景或来源线索进行信息筛选与匹配。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • syncfusion-wpf-pdf-viewer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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.

  1. 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. Ask yourself: *"Does the reference file contain any XAML markup for this feature?"* YES → XAML exists in reference → include only those exact XAML elements shown in the snippet. NO → reference is C# onlyMainWindow.xaml MUST contain only <syncfusion:PdfViewerControl> inside a <Grid>. Stop. Do not add anything else. Checklist to run before every XAML output: Forbidden (when reference has no XAML): <Button>, <ComboBox>, <Slider>, <StackPanel>, <TextBlock>, <Grid.RowDefinitions>, or any UI element that does not appear verbatim in the reference snippet. Known C#-only features (no XAML must be generated): Known features that DO require XAML (sourced from references): All XAML additions must be placed inside the same <Grid> that hosts <syncfusion:PdfViewerControl>, using a <StackPanel> or <Grid> sub-layout only when the reference snippet implies it.

- I have opened the relevant references/*.md file. - I have confirmed whether it contains XAML or is C#-only. - If C#-only: my XAML contains nothing beyond <syncfusion:PdfViewerControl x:Name="pdfViewer"/> inside <Grid>. - If XAML exists in reference: I am copying only those elements — not inventing new ones. - Ink / shape / stamp / text / highlight annotations (annotation.md) — all settings are C# only. - Magnifying / zoom level (magnifying.md) — C# only. - Interaction mode (interaction-mode.md) — C# only. - Text selection (text-selection.md) — C# only. - PDF layers (pdf-layers.md) — C# only. - Redaction (redaction.md) — C# only. - Print (print.md) — C# only. - Export image (export-image.md) — C# only. - Saving PDF (saving-pdf-files.md) — C# only. - Commands (commands.md): navigation/zoom/annotation/undo/redo/print/unload buttons use Command="{Binding ElementName=..., Path=...}". - Toolbar items (toolbar-items.md): classic style requires Style="{StaticResource SyncfusionPdfViewerCustomControlStyle}" on <syncfusion:PdfViewerControl>.

  1. Add only the APIs required to satisfy the user's requested functionality. Do not include optional APIs, additional.
  2. C# language version compatibility: When the target framework is .NET Framework (e.g., 4.6, 4.7, 4.8), the default C# language version is 7.3. The generated C# code MUST NOT use any C# 8.0+ language features. Specifically, do NOT use:

- Switch expressions (x switch {...}) - Nullable reference types (string?, #nullable enable, object?) - Default interface implementations - Ranges and indices (^1, 1..^1) - ??= null-coalescing assignment Use if/else or traditional switch statements instead of switch expressions. Use regular null checks (if (x!= null)) instead of nullable reference type syntax.


Code References

All templates and operation snippets live in references/*.md. Each file is a focused snippet or template the agent will combine when generating samples.

FilePurpose
Load-sample.mdLoad PDFs via stream or file path (encrypted and normal); unload document; customize loading indicator color and message.
navigation.mdPage navigation (including GoToPageAtIndex), page count, current page index, thumbnail panel, bookmark navigation, and hyperlink events.
annotation.mdAdd and control annotations (ink, shapes, stamp, text, highlights, etc.); disable annotation selection; set current user; customize annotation selector colors.
pdf-rendering.mdSwitch rendering engine (PDFium/SfPdf) and set ReferencePath.
text-extraction-engine.mdSwitch text extraction engine (PDFium/SfPdf).
print.mdPrint settings, silent print, paper source, and print events.
export-image.mdExport pages as images (JPG, PNG, TIFF, BMP) using ExportAsImage.
import-export-annotations.mdImport/export annotations in FDF or XFDF format using ImportAnnotations and ExportAnnotations.
extract-text-from-pdf.mdExtract text and bounds from pages or full document.
form-filling.mdForm field events, FDF import/export, and AcroForm field management.
pdf-layers.mdToggle layer visibility and disable layers.
redaction.mdEnable redaction, mark regions, customize appearance, and handle events.
pdf-coordinates.mdCoordinate conversion, scroll offsets, and ZoomToRect.
organize-pages.mdRotate, reorder, and remove pages; page organizer settings.
handwritten-signature.mdSignature mode, appearance settings, flatten on save, and events.
interaction-mode.mdSwitch cursor modes (Selection, Panning, Marquee Zoom).
pdf-pages.mdPage border customization, page interaction events, and pixel-to-point coordinate conversion on page click.
saving-pdf-files.mdSave PDF, handle save events, cancel save, and check if the document has been edited.
magnifying.mdZoom level, zoom mode, zoom limits, and ZoomChanged event.
searching-text.mdSearch, highlight, navigate results, and retrieve text bounds.
text-selection.mdDetect and retrieve selected text and bounds.
localization.mdApply.resx localization and set UI culture.
customize-contextmenu.mdAdd, remove, or hide context menu items.
commands.mdCommand bindings for navigation, zoom, annotations, print, and save; disable undo/redo via UndoRedoSettings.Limit.
toolbar-items.mdShow/hide toolbar elements and disable individual toolbar items.

Prerequisites

  1. Development Environment: Visual Studio 2022 or Visual Studio Insider 2026 (recommended for.NET 10).
  2. NET Framework 4.5+ or.NET Core/.NET 8+ with WPF support.
  3. Syncfusion WPF NuGet Packages: Syncfusion.PdfViewer.WPF

Theme NuGet Packages

To apply a built-in theme to the WPF PdfViewerControl using SfSkinManager, install the NuGet package that matches the desired theme:

Theme NameRequired NuGet Package
FluentLightSyncfusion.Themes.FluentLight.WPF
FluentDarkSyncfusion.Themes.FluentDark.WPF
MaterialLightSyncfusion.Themes.MaterialLight.WPF
MaterialDarkSyncfusion.Themes.MaterialDark.WPF
MaterialLight3Syncfusion.Themes.MaterialLight3.WPF
MaterialDark3Syncfusion.Themes.MaterialDark3.WPF
Office2019ColorfulSyncfusion.Themes.Office2019Colorful.WPF
Office2019BlackSyncfusion.Themes.Office2019Black.WPF
Office2019WhiteSyncfusion.Themes.Office2019White.WPF
Office2019DarkGraySyncfusion.Themes.Office2019DarkGray.WPF
Windows11LightSyncfusion.Themes.Windows11Light.WPF
Windows11DarkSyncfusion.Themes.Windows11Dark.WPF
Note: Install only the NuGet package corresponding to the theme the user wants to apply. Theme support requires Syncfusion.SfSkinManager.WPF, which is included as a dependency of the theme packages. Refer to: Apply theme using SfSkinManager | WPF PdfViewer Theme

Documentations

WPF PdfViewer overview

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.59%
按下载量换算44

Claude

31.3%
按下载量换算36

Cursor

19.14%
按下载量换算22

Gemini CLI

9.55%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills