Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-winforms-navigation-view(Synfusion Winforms 导航视图)

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

syncfusion-winforms-navigation-view 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 46,467。

总安装 776周安装 33GitHub Stars 1下载 272核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

可视化导航面板控件,以图标+文字组合形式引导用户操作流程。常见于设置向导、多步骤任务或模块化功能聚合界面设计。技能提供状态指示(选中/悬停/禁用)与过渡动画,增强操作感知。动态加载子页面时应预判加载时长,必要时展示骨架屏降低等待焦虑。主题切换时需同步更新图标语义,避免文化差异导致误解。

来源仓库内路径:skills/syncfusion-winforms-navigation-view

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/winforms-ui-components-skills --ski…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-winforms-navigation-view 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfus…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-winforms-navigation-view 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-winforms-navigation-view 需要什么权限?

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

syncfusion-winforms-navigation-view 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-winforms-navigation-view 用的人多吗?

公开数据是累计安装 776 次,近一周安装 33 次,下载 272 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-winforms-navigation-view 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
syncfusion-winforms-navigation-view

Synfusion Winforms 导航视图 · 本页

7761操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementing Navigation Views in Windows Forms

When to Use This Skill

Use the NavigationView control when you need:

  • Breadcrumb Navigation: Display hierarchical location paths (e.g., MyComputer > C: > Program Files > App)
  • File Browser Interfaces: Track and navigate folder hierarchies like Windows Explorer
  • Location Tracking: Keep users aware of their current position in multi-level structures
  • Quick Navigation: Allow users to jump back to parent locations or navigate via dropdown
  • Settings/Configuration Wizards: Show user's progress through nested categories
  • Document Management: Navigate document folders, categories, or organizational structures

Key Feature: Unlike traditional menus or tree views, NavigationView shows the current path with dropdown access to siblings at each level.

Component Overview

The NavigationView control provides a breadcrumb-style navigation interface that displays a hierarchical path using Bars (nodes). Each Bar in the path shows a forward arrow that, when clicked, reveals a dropdown list of child Bars directly below it.

Core Concepts:

  • Bar: A single node in the navigation hierarchy (e.g., "MyComputer", "C:", "Users")
  • Parent Bar: A Bar that contains child Bars (root level or intermediate)
  • Child Bar: A Bar nested within a parent Bar
  • Selected Bar: The currently active Bar displayed in the path
  • History: Tracks previously visited Bars for quick return navigation

Visual Structure:

[Icon] MyComputer > C: > Program Files > App   [History ▼]
       └─────┬─────┘
              └─ Click arrow to see child Bars dropdown

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Read this reference when you need to:

  • Install assemblies or NuGet packages for NavigationView
  • Add the control to a form via designer or code
  • Understand required namespaces (Syncfusion.Windows.Forms.Tools)
  • Set up a basic NavigationView with minimal configuration
  • See a complete minimal working example

Key Topics:

  • Assembly deployment (6 required DLLs)
  • Adding control via designer drag-and-drop
  • Adding control manually using code
  • Creating the first NavigationView instance
  • Basic setup and initialization

Bar Hierarchy and Structure

📄 Read: references/bar-hierarchy.md

Read this reference when you need to:

  • Create parent and child Bar relationships
  • Build multi-level navigation hierarchies
  • Add Bars to the NavigationView.Bars collection
  • Add child Bars to a parent Bar's Bars collection
  • Set the selected Bar to display a specific path
  • Understand Bar properties (Text, ImageIndex)

Key Topics:

  • Creating Bar instances
  • Parent-child Bar relationships
  • Adding root Bars to NavigationView
  • Adding child Bars to parent Bars
  • Setting SelectedBar property
  • Navigating between Bars programmatically

Dropdown Selection and History

📄 Read: references/dropdown-and-history.md

Read this reference when you need to:

  • Implement dropdown selection for child Bar navigation
  • Enable/disable history button tracking
  • Show previously visited locations in history dropdown
  • Add custom buttons to the NavigationView
  • Configure custom button appearance and images
  • Handle BarPopup event for dropdown customization
  • Control maximum items displayed in popups

Key Topics:

  • Forward arrow dropdown mechanism
  • ShowHistoryButtons property
  • History tracking and dropdown
  • Custom button collection
  • Adding custom buttons (designer and code)
  • BarPopup event handling
  • Customizable popup item count

Images and Visual Styling

📄 Read: references/images-and-styling.md

Read this reference when you need to:

  • Add icons to Bars using ImageList
  • Set ImageIndex for parent and child Bars
  • Apply visual styles (Office2007, Vista, Metro)
  • Configure VisualStyle property
  • Customize control appearance
  • Match application theme or style

Key Topics:

  • ImageList setup and assignment
  • Setting Bar ImageIndex properties
  • Visual styles overview
  • Applying Office2007 style
  • Applying Vista style
  • Applying Metro style
  • Appearance customization

Advanced Features

📄 Read: references/advanced-features.md

Read this reference when you need to:

  • Enable edit mode for direct path typing
  • Allow users to type navigation paths
  • Control popup behavior with BarPopup event
  • Set maximum items to display in popups
  • Cancel popup display conditionally
  • Implement advanced navigation scenarios

Key Topics:

  • Edit mode enabling and usage
  • Typing paths directly into NavigationView
  • BarPopup event advanced usage
  • MaximumItemsToDisplay property
  • Popup cancellation logic
  • Quick navigation techniques

Quick Start Example

Here's a minimal example of creating a NavigationView with a three-level hierarchy:

using Syncfusion.Windows.Forms.Tools;
using Syncfusion.Windows.Forms.Tools.Navigation;

// Create NavigationView
NavigationView navigationView1 = new NavigationView();
navigationView1.Width = 400;
navigationView1.Height = 25;
navigationView1.Location = new System.Drawing.Point(20, 20);

// Create root Bar
Bar rootBar = new Bar();
rootBar.Text = "MyComputer";

// Create child Bars
Bar driveC = new Bar();
driveC.Text = "Local Disk (C:)";

Bar driveD = new Bar();
driveD.Text = "Local Disk (D:)";

Bar programFiles = new Bar();
programFiles.Text = "Program Files";

// Build hierarchy
rootBar.Bars.AddRange(new Bar[] { driveC, driveD });
driveC.Bars.Add(programFiles);

// Add root to NavigationView
navigationView1.Bars.Add(rootBar);

// Set initial selection
navigationView1.SelectedBar = rootBar;

// Add to form
this.Controls.Add(navigationView1);

Result: A breadcrumb navigation showing "MyComputer" with dropdown access to "C:" and "D:".

Common Patterns

File System Navigation Pattern

Mimic Windows Explorer folder navigation:

// Root = Computer
Bar computer = new Bar { Text = "This PC" };

// Drives
Bar cDrive = new Bar { Text = "Local Disk (C:)" };
Bar dDrive = new Bar { Text = "Local Disk (D:)" };

// Common folders
Bar users = new Bar { Text = "Users" };
Bar documents = new Bar { Text = "Documents" };
Bar downloads = new Bar { Text = "Downloads" };

// Build hierarchy
computer.Bars.AddRange(new Bar[] { cDrive, dDrive });
cDrive.Bars.Add(users);
users.Bars.AddRange(new Bar[] { documents, downloads });

navigationView1.Bars.Add(computer);
navigationView1.SelectedBar = computer;

Dynamic Bar Creation Based on Data

Populate NavigationView from data source:

public void LoadFoldersFromPath(string rootPath, Bar parentBar)
{
    try
    {
        var directories = Directory.GetDirectories(rootPath);

        foreach (var dir in directories)
        {
            Bar childBar = new Bar();
            childBar.Text = Path.GetFileName(dir);
            childBar.Tag = dir; // Store full path

            parentBar.Bars.Add(childBar);

            // Optionally load sub-folders
            // LoadFoldersFromPath(dir, childBar);
        }
    }
    catch (UnauthorizedAccessException)
    {
        // Handle permission errors
    }
}

// Usage
Bar rootBar = new Bar { Text = "C:", Tag = @"C:\" };
LoadFoldersFromPath(@"C:\", rootBar);
navigationView1.Bars.Add(rootBar);

Navigation with History Tracking

Enable users to track and return to previous locations:

// Enable history button
navigationView1.ShowHistoryButtons = true;

// Handle BarSelected event to track navigation
navigationView1.BarSelected += (sender, e) =>
{
    string currentPath = GetFullPath(navigationView1.SelectedBar);
    Console.WriteLine($"Navigated to: {currentPath}");

    // Update UI based on selection
    LoadContent(currentPath);
};

// Helper to build full path
private string GetFullPath(Bar bar)
{
    List<string> path = new List<string>();
    Bar current = bar;

    while (current != null)
    {
        path.Insert(0, current.Text);
        current = current.Parent as Bar;
    }

    return string.Join(" > ", path);
}

Custom Navigation Buttons

Add search or refresh buttons to NavigationView:

// Create custom search button
CustomButton searchButton = new CustomButton();
searchButton.Name = "searchButton";
searchButton.Image = Properties.Resources.SearchIcon; // Your icon
searchButton.Appearance = ButtonAppearance.Office2007;

// Handle click
searchButton.Click += (sender, e) =>
{
    // Show search dialog or panel
    ShowSearchPanel();
};

// Add to NavigationView
navigationView1.Controls.Add(searchButton);

Key Properties and Events

Essential Properties

PropertyTypeDescription
BarsBarCollectionCollection of root-level Bars
SelectedBarBarCurrently displayed Bar in the path
ShowHistoryButtonsboolShow/hide history dropdown button
VisualStyleVisualStylesApply Office2007, Vista, or Metro styling
ImageListImageListImage collection for Bar icons

Bar Properties

PropertyTypeDescription
TextstringDisplay text for the Bar
ImageIndexintIndex in NavigationView.ImageList
BarsBarCollectionChild Bars of this Bar
TagobjectStore custom data (e.g., full path)

Important Events

EventDescriptionCommon Use
BarSelectedFires when user selects a BarLoad content for selected location
BarPopupFires before dropdown showsCustomize popup items, set max items
ClickUser clicks the controlHandle general interaction

Common Use Cases

Use Case 1: File Explorer with Edit Mode

Allow users to navigate folders visually or type paths directly:

// Enable edit mode
navigationView1.AllowEdit = true; // If property exists

// Handle path changes
navigationView1.BarSelected += (sender, e) =>
{
    if (navigationView1.SelectedBar.Tag is string path)
    {
        LoadDirectoryContents(path);
    }
};

Use Case 2: Settings Navigation

Guide users through nested settings categories:

Bar settings = new Bar { Text = "Settings" };
Bar appearance = new Bar { Text = "Appearance" };
Bar colors = new Bar { Text = "Colors" };
Bar fonts = new Bar { Text = "Fonts" };

settings.Bars.Add(appearance);
appearance.Bars.AddRange(new Bar[] { colors, fonts });

navigationView1.Bars.Add(settings);
navigationView1.SelectedBar = settings;

Use Case 3: Document Management System

Navigate document categories with custom icons:

// Setup ImageList
ImageList imgList = new ImageList();
imgList.Images.Add("folder", Properties.Resources.FolderIcon);
imgList.Images.Add("doc", Properties.Resources.DocumentIcon);
navigationView1.ImageList = imgList;

// Create hierarchy with images
Bar root = new Bar { Text = "Documents", ImageIndex = 0 };
Bar contracts = new Bar { Text = "Contracts", ImageIndex = 0 };
Bar invoices = new Bar { Text = "Invoices", ImageIndex = 0 };

root.Bars.AddRange(new Bar[] { contracts, invoices });
navigationView1.Bars.Add(root);

Use Case 4: Limited Popup Items for Large Hierarchies

Control dropdown size for folders with many subfolders:

navigationView1.BarPopup += (sender, e) =>
{
    // Limit items to 10 for better UX
    e.MaximumItemsToDisplay = 10;

    // Cancel popup for specific Bars
    if (e.CurrentBar.Text == "EmptyFolder")
    {
        e.Cancel = true;
    }
};

Troubleshooting Tips

Issue: Bars not appearing in NavigationView

  • Solution: Ensure Bars are added to navigationView1.Bars collection, not just created
  • Check: Verify SelectedBar is set to make a Bar visible

Issue: Images not displaying

  • Solution: Assign ImageList to NavigationView, then set ImageIndex on Bars
  • Check: Ensure ImageIndex values are within ImageList bounds

Issue: Dropdown not showing child Bars

  • Solution: Add child Bars to parent's Bars collection: parentBar.Bars.Add(childBar)
  • Check: Verify parent Bar actually has children

Issue: History button not visible

  • Solution: Set navigationView1.ShowHistoryButtons = true

Issue: Visual style not applied

  • Solution: Set VisualStyle property after control initialization
  • Example: navigationView1.VisualStyle = VisualStyles.Office2007;

Next Steps

  1. Start with Getting Started: Read references/getting-started.md to set up the control
  2. Build Hierarchy: Read references/bar-hierarchy.md to create your Bar structure
  3. Add Features: Read remaining references to add dropdown, history, images, and advanced capabilities
  4. Customize Appearance: Apply visual styles to match your application theme
  5. Handle Events: Wire up BarSelected and other events to respond to user navigation

For complete implementation details, proceed through the reference guides in the order listed above.

平台分布

Codex

32.67%
按下载量换算89

Claude

31.8%
按下载量换算86

Cursor

17.32%
按下载量换算47

Gemini CLI

9.77%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills