Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-folder-browsersyncfusion winforms 文件夹浏览器

Agent Skill

syncfusion-winforms-folder-browser 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

783

周安装

32

GitHub Stars

1

下载量

251
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-folder-browser

简介

用于处理浏览器自动化、网页检查和页面信息提取。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中打开页面或读取网页内容。
  • 通过 GitHub 仓库安装,需结合原始 README 确认功能细节。
  • 安装前建议确认权限范围,避免触发不必要的网络请求或文件读写。
  • 适用于前端测试与页面验证场景。

SKILL.md

Implementing FolderBrowser in Windows Forms

The Syncfusion FolderBrowser control provides a wrapper around the Win32 Shell Folder Browser API, enabling developers to display a folder selection dialog with.NET-centric properties, events, and methods.

When to Use This Skill

Use this skill when you need to:

  • Display a folder selection dialog to users
  • Allow users to browse and select directory paths
  • Customize dialog behavior (restrict to filesystem, show computers, etc.)
  • Handle folder selection with callback validation
  • Configure starting locations for browsing
  • Add auto-complete file path functionality

Component Overview

FolderBrowser is a dialog-based component that:

  • Shows a native Windows folder selection dialog
  • Abstracts complex Win32 Shell API interactions
  • Supports various browsing styles and restrictions
  • Provides callback events for validation
  • Enables custom starting locations and path selection
  • Works with both designer and code-based implementations

Key Capabilities

FeaturePurpose
Location SettingsConfigure where browsing starts (MyComputer, CustomStartLocation, etc.)
Style OptionsControl dialog behavior (RestrictToFilesystem, BrowseForComputer, ShowTextBox, etc.)
Path SelectionAutomatically scroll and highlight specific folder paths
Callback EventsValidate folder selection in real-time during browsing
Text CustomizationSet dialog descriptions and status messages
Auto-CompleteEnable textbox with folder path suggestions

Quick Start Example

// Create and display a basic folder browser dialog
FolderBrowser folderBrowser = new FolderBrowser();

// Set starting location to My Computer
folderBrowser.StartLocation = Syncfusion.Windows.Forms.FolderBrowserFolder.MyComputer;

// Configure dialog styles
folderBrowser.Style = Syncfusion.Windows.Forms.FolderBrowserStyles.RestrictToFilesystem |
                      Syncfusion.Windows.Forms.FolderBrowserStyles.NewDialogStyle;

// Show dialog and get selected path
if (folderBrowser.ShowDialog() == DialogResult.OK)
{
    string selectedFolder = folderBrowser.DirectoryPath;
    MessageBox.Show($"Selected: {selectedFolder}");
}

Common Patterns

Pattern 1: Basic Folder Selection

Show a simple dialog allowing users to browse and select any folder in the filesystem.

var folderBrowser = new FolderBrowser();
folderBrowser.Style = FolderBrowserStyles.RestrictToFilesystem;
folderBrowser.ShowDialog();

Pattern 2: Custom Starting Location

Start browsing from a specific path with pre-highlighted selection.

folderBrowser.StartLocation = FolderBrowserFolder.CustomStartLocation;
folderBrowser.CustomStartLocation = "C:\\Program Files";
folderBrowser.SelectLocation = "C:\\Program Files\\Syncfusion";
folderBrowser.ShowDialog();

Pattern 3: Multiple Style Flags

Combine multiple styles to enable text input and validation.

folderBrowser.Style = FolderBrowserStyles.ShowTextBox |
                      FolderBrowserStyles.Validate |
                      FolderBrowserStyles.NewDialogStyle;

Pattern 4: With Callback Validation

Handle folder selection validation through callback events.

folderBrowser.FolderBrowserCallback += FolderBrowser_Callback;
folderBrowser.ShowDialog();

private void FolderBrowser_Callback(object sender, FolderBrowserCallbackEventArgs e)
{
    // Validate path or update status
    if (IsValidFolder(e.Path))
        e.BrowseCallbackText = $"Selected: {e.Path}";
    else
        e.Dismiss = true;
}

Documentation Navigation

Getting Started

📄 Read: references/getting-started.md

  • Assembly references and NuGet deployment
  • Adding control via designer
  • Adding control via code
  • Basic dialog initialization and display
  • Complete working example

Location Settings

📄 Read: references/location-settings.md

  • StartLocation property with predefined locations
  • CustomStartLocation for custom browsing paths
  • SelectLocation for automatic path highlighting
  • DirectoryPath property for retrieving selected path
  • Practical code examples

Style Options

📄 Read: references/style-options.md

  • Style property overview and all available flags
  • RestrictToFilesystem and domain restrictions
  • BrowseForComputer and BrowseForEverything
  • ShowTextBox and auto-complete functionality
  • NewDialogStyle for resizable dialogs
  • Combining multiple style flags

Text Customization

📄 Read: references/text-customization.md

  • Description property for dialog titles
  • Setting custom dialog text
  • StatusText usage in callbacks
  • Best practices for user-friendly messaging

Callback Events

📄 Read: references/callback-events.md

  • FolderBrowserCallback event handling
  • FolderBrowserCallbackEventArgs members
  • Dismiss property for dialog control
  • BrowseCallbackText and status updates
  • FolderBrowserMessage types and meanings
  • Real-time validation patterns

Common Patterns

📄 Read: references/common-patterns.md

  • Complete folder selection workflow
  • Error handling and path validation
  • Combining styles for specific scenarios
  • Integration with file system operations
  • Performance considerations

Key Properties

PropertyTypePurpose
StartLocationFolderBrowserFolderSets the root folder for browsing
CustomStartLocationstringCustom path when StartLocation is CustomStartLocation
SelectLocationstringPath to auto-highlight during browsing
DirectoryPathstringGets the selected folder path
StyleFolderBrowserStylesFlags controlling dialog appearance and behavior
DescriptionstringSets the description text in the dialog

Assembly Requirements

Before using FolderBrowser, add the following assembly reference:

  • Syncfusion.Shared.Base.dll

Or install via NuGet:

Install-Package Syncfusion.Shared.Base

Next Steps: Choose a reference document above based on your specific need, or start with Getting Started if you're new to this component.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.9%
按下载量换算93

Claude

27.85%
按下载量换算70

Cursor

20.76%
按下载量换算52

Gemini CLI

10.14%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills