Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-navigation-paneSynfusion Winforms 导航窗格

Agent Skill

syncfusion-winforms-navigation-pane 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

706

周安装

30

GitHub Stars

1

下载量

247
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

实现 Outlook 风格的分层导航功能,支持分组折叠与主题切换。

  • 适合企业级桌面应用中菜单栏、工具箱或分类浏览界面设计。
  • 内置 Office 主题适配与布局状态序列化保存能力。
  • 所有 UI 元素均可深度自定义外观样式与动画效果。syncfusion-winforms-navigation-pane 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 需配合 Visual Studio 控件工具箱拖拽方式添加至窗体。

SKILL.md

Implementing Navigation Panes (GroupBar) in Syncfusion WinForms

This skill guides you in implementing Syncfusion.Tools.WinForms (Navigation Pane) control—an Outlook-style navigation container that displays hierarchical groups with collapsible sections and child item collections.

When to Use This Skill

Use this skill when the user needs to:

  • Implement Outlook-style navigation panes (similar to Microsoft Outlook sidebar)
  • Create hierarchical sidebar navigation with collapsible groups
  • Build toolbox-style interfaces (like Visual Studio.NET toolbox)
  • Add categorized control collections with GroupBarItems
  • Implement GroupView for displaying child items within groups
  • Enable StackedMode for navigation pane at bottom (Outlook-style)
  • Apply Office 2007/2010/2016 themes and Metro styles
  • Create nested GroupBar (GroupBar within GroupBar)
  • Add in-place renaming of navigation items
  • Implement serialization to save/restore navigation layout
  • Customize headers, borders, colors, and animations
  • Replace standard panels with themed navigation containers

GroupBar is ideal for applications requiring categorized navigation, toolbox-style interfaces, or Outlook-inspired sidebar layouts.

Component Overview

GroupBar (Navigation Pane) is a container control that displays multiple groups (GroupBarItems) where only one selected group's content is visible at a time. It works with GroupView to display child items. Key capabilities:

  • GroupBarItem: Tab-like navigation items (groups/categories)
  • GroupView: Client control for displaying child items within groups
  • GroupViewItem: Individual child items within a GroupView
  • StackedMode: Navigation pane mode (like Outlook) with collapsible stack
  • Office Themes: Office 2007/2010/2016, Metro, Office2016Colorful/White/DarkGray/Black
  • Nested GroupBar: Host GroupBar within another GroupBar
  • Serialization: Save/restore layout state and item positions
  • Customizable Appearance: Headers, borders, colors, fonts, animations
  • In-Place Renaming: Edit GroupBarItem names at runtime
  • Localization: Multi-language support

Key Difference from Standard Panel/TabControl: GroupBar provides Outlook-style navigation with GroupView integration, StackedMode for collapsible navigation pane, Office themes, and hierarchical item display capabilities.

Additional Resources

Assembly: Syncfusion.Shared.Base.dll Namespace: Syncfusion.Windows.Forms.Tools NuGet Package: Syncfusion.Shared.Base Minimum.NET Framework: 4.5

Documentation and Navigation Guide

Getting Started and Basic Setup

📄 Read: references/getting-started.md

Read this reference when users need:

  • Assembly dependencies and NuGet package installation
  • Namespace: Syncfusion.Windows.Forms.Tools
  • Creating GroupBar via designer or code
  • Adding GroupBarItems to the control
  • Basic GroupBar configuration
  • Understanding GroupBar structure
  • Complete minimal working example

GroupBar Items and Structure

📄 Read: references/groupbar-items-and-structure.md

Read this reference when users need:

  • Creating GroupBarItem instances
  • Text property for item labels
  • Image property for item icons
  • Client property (linking to GroupView)
  • GroupBarItems collection management
  • Item selection and navigation
  • GroupBarItemSelected event handling
  • Complete group navigation examples

GroupView and Child Items

📄 Read: references/groupview-and-child-items.md

Read this reference when users need:

  • GroupView overview (client control for groups)
  • Creating GroupView instances
  • GroupViewItem for child items
  • Adding items to GroupViewItems collection
  • Linking GroupView to GroupBarItem.Client
  • Item selection in GroupView
  • GroupViewItem click events
  • Building toolbox-style interfaces

Stacked Mode (Navigation Pane)

📄 Read: references/stacked-mode.md

Read this reference when users need:

  • StackedMode property (Outlook-style navigation)
  • Navigation pane at bottom
  • HeaderHeight property for collapsed state
  • Navigation between stacked items
  • Expanded/collapsed state management
  • Serialization of stacked layout
  • Complete Outlook clone example

Visual Styles and Themes

📄 Read: references/visual-styles-and-themes.md

Read this reference when users need:

  • VisualStyle property overview
  • Office2007 theme (Blue, Silver, Black, Managed)
  • Office2007Outlook theme
  • Office2010 theme (Blue, Silver, Black, Managed)
  • Metro theme
  • Office2016 themes (Colorful, White, DarkGray, Black)
  • Managed colors for custom branding
  • Theme comparison and selection
  • Applying themes at runtime

Appearance Customization

📄 Read: references/appearance-customization.md

Read this reference when users need:

  • Header customization (colors, fonts, height)
  • Border settings (styles, colors)
  • Text alignment and settings
  • Image display configuration
  • Tooltip settings
  • Cursor customization
  • Animation settings
  • Custom colors and gradients

Advanced Features and Configuration

📄 Read: references/advanced-features.md

Read this reference when users need:

  • Nested GroupBar support (GroupBar in GroupBar)
  • In-place renaming of GroupBarItems
  • Serialization of layout state
  • Localization support
  • Link selection in GroupView
  • Custom control hosting
  • Event handling (GroupBarItemSelected, etc.)
  • Complex navigation scenarios

Quick Start Example

Here's a minimal example creating a GroupBar with items and child content:

using Syncfusion.Windows.Forms.Tools;
using System;
using System.Drawing;
using System.Windows.Forms;

public class GroupBarExample : Form
{
    private GroupBar groupBar1;

    public GroupBarExample()
    {
        // Create GroupBar
        groupBar1 = new GroupBar();
        groupBar1.Dock = DockStyle.Left;
        groupBar1.Width = 200;

        // Create GroupBarItems
        GroupBarItem mailItem = new GroupBarItem();
        mailItem.Text = "Mail";

        GroupBarItem calendarItem = new GroupBarItem();
        calendarItem.Text = "Calendar";

        GroupBarItem contactsItem = new GroupBarItem();
        contactsItem.Text = "Contacts";

        // Add items to GroupBar
        groupBar1.GroupBarItems.AddRange(new GroupBarItem[] {
            mailItem,
            calendarItem,
            contactsItem
        });

        // Add GroupBar to form
        this.Controls.Add(groupBar1);

        this.Text = "GroupBar Example";
        this.Size = new Size(600, 400);
    }
}

Result: A left-docked navigation pane with 3 groups (Mail, Calendar, Contacts) similar to Microsoft Outlook.

Common Patterns

Outlook-Style Navigation with GroupView

Pattern: Create an Outlook-inspired navigation pane with child items.

// Create GroupBar
GroupBar groupBar = new GroupBar();
groupBar.Dock = DockStyle.Left;
groupBar.Width = 220;
groupBar.VisualStyle = VisualStyle.Office2016Colorful;

// Create GroupBarItem
GroupBarItem mailItem = new GroupBarItem();
mailItem.Text = "Mail Folders";

// Create GroupView for child items
GroupView mailView = new GroupView();
mailView.Name = "MailView";
mailView.GroupViewItems.AddRange(new GroupViewItem[] {
    new GroupViewItem("Inbox", 0, true, null, "Inbox"),
    new GroupViewItem("Drafts", 1, true, null, "Drafts"),
    new GroupViewItem("Sent Items", 2, true, null, "Sent"),
    new GroupViewItem("Deleted Items", 3, true, null, "Deleted")
});

// Link GroupView to GroupBarItem
mailItem.Client = mailView;
groupBar.Controls.Add(mailView);
groupBar.GroupBarItems.Add(mailItem);

// Handle item click
mailView.GroupViewItemSelected += (s, e) => {
    string folderName = ((sender as GroupView)?.SelectedItem >= 0 ? (sender as GroupView).GroupViewItems[(sender as GroupView).SelectedItem].Text : null)`;
    LoadMailFolder(folderName);
};

this.Controls.Add(groupBar);

When: User needs Outlook-style mail navigation with folder hierarchy.

Visual Studio Toolbox Clone

Pattern: Create a toolbox-style interface with categorized controls.

// Create GroupBar for toolbox
GroupBar toolbox = new GroupBar();
toolbox.Dock = DockStyle.Left;
toolbox.Width = 200;
toolbox.VisualStyle = VisualStyle.Office2010;

// Create "Windows Forms" category
GroupBarItem winFormsItem = new GroupBarItem();
winFormsItem.Text = "Windows Forms";

GroupView winFormsView = new GroupView();
winFormsView.GroupViewItems.AddRange(new GroupViewItem[] {
    new GroupViewItem("Button", 0, true, null, "Button"),
    new GroupViewItem("TextBox", 1, true, null, "TextBox"),
    new GroupViewItem("Label", 2, true, null, "Label"),
    new GroupViewItem("ComboBox", 3, true, null, "ComboBox")
});

// Create "Data" category
GroupBarItem dataItem = new GroupBarItem();
dataItem.Text = "Data";

GroupView dataView = new GroupView();
dataView.GroupViewItems.AddRange(new GroupViewItem[] {
    new GroupViewItem("DataSet", 0, true, null, "DataSet"),
    new GroupViewItem("DataTable", 1, true, null, "DataTable"),
    new GroupViewItem("BindingSource", 2, true, null, "BindingSource")
});

// Link and add
winFormsItem.Client = winFormsView;
dataItem.Client = dataView;

toolbox.Controls.Add(winFormsView);
toolbox.Controls.Add(dataView);

toolbox.GroupBarItems.Add(winFormsItem);
toolbox.GroupBarItems.Add(dataItem);

this.Controls.Add(toolbox);

When: User needs a categorized toolbox with collapsible sections like Visual Studio.

Stacked Navigation Pane (Outlook Mode)

Pattern: Enable Outlook-style stacked navigation with bottom pane.

// Create GroupBar in stacked mode
GroupBar navPane = new GroupBar();
navPane.Dock = DockStyle.Left;
navPane.Width = 220;
navPane.StackedMode = true; // Enable Outlook-style navigation
navPane.VisualStyle = VisualStyle.Office2016White;

// Create multiple GroupBarItems
GroupBarItem mailItem = new GroupBarItem();
mailItem.Text = "Mail";

GroupBarItem calendarItem = new GroupBarItem();
calendarItem.Text = "Calendar";

GroupBarItem contactsItem = new GroupBarItem();
contactsItem.Text = "Contacts";

GroupBarItem tasksItem = new GroupBarItem();
tasksItem.Text = "Tasks";

// Add all items
navPane.GroupBarItems.AddRange(new GroupBarItem[] {
    mailItem,
    calendarItem,
    contactsItem,
    tasksItem
});

// Handle item selection
navPane.GroupBarItemSelected += (s, e) => {
    string selectedSection = ((sender as GroupView)?.SelectedItem >= 0 ? (sender as GroupView).GroupViewItems[(sender as GroupView).SelectedItem].Text : null)`;
    LoadSection(selectedSection);
};

this.Controls.Add(navPane);

When: User needs Outlook-style navigation with stacked items and bottom navigation pane.

Key Properties

Core Properties

PropertyTypeDescriptionWhen to Use
GroupBarItemsCollectionCollection of GroupBarItem instancesAdd navigation groups
SelectedItemGroupBarItemCurrently selected itemGet/set active group
StackedModeboolEnable Outlook-style stacked navigationOutlook-like layout
VisualStyleVisualStyleVisual themeApply Office themes
HeaderHeightintHeight of GroupBar headerCustomize header size

GroupBarItem Properties

PropertyTypeDescriptionWhen to Use
TextstringItem display textSet group label
ImageImageItem icon imageAdd visual identifier
ClientControlClient control (typically GroupView)Link content to item
SelectedboolWhether item is selectedCheck/set selection

GroupView Properties

PropertyTypeDescriptionWhen to Use
GroupViewItemsCollectionChild items in the viewAdd child items
SelectedItemGroupViewItemCurrently selected childGet/set selected child
NamestringIdentifier for the viewReference the view

Styling Properties

PropertyTypeDescriptionWhen to Use
VisualStyleVisualStyleTheme (Office2007/2010/2016/Metro)Apply themes
Office2007ThemeOffice2007ThemeOffice2007 color schemeBlue/Silver/Black/Managed
Office2010ThemeOffice2010ThemeOffice2010 color schemeBlue/Silver/Black/Managed
BorderStyleBorderStyleBorder appearanceCustomize borders
BackColorColorBackground colorCustom backgrounds

Advanced Properties

PropertyTypeDescriptionWhen to Use
AllowCollapseboolAllow collapsing groupsEnable collapse behavior
AllowInPlaceEditingboolEnable item renamingRuntime editing
AnimateCollapseboolAnimate collapse/expandSmooth transitions
ShowToolTipsboolDisplay tooltipsShow item descriptions

Common Use Cases

Email Client Navigation

Outlook-style navigation with mail folders:

  • Mail folders (Inbox, Drafts, Sent, Deleted)
  • Calendar view with appointments
  • Contacts list with categories
  • Tasks with priority sections

IDE Toolbox Interfaces

Visual Studio-style toolboxes:

  • Categorized control collections
  • Component categories (Data, Layout, Controls)
  • Collapsible sections
  • Drag-drop tool selection

Document Management Systems

Hierarchical document navigation:

  • Document categories and folders
  • Project hierarchies
  • File type groupings
  • Archive sections

Settings and Configuration Panels

Categorized settings navigation:

  • General settings section
  • Account preferences
  • Advanced options
  • Theme customization

Implementation Checklist

When implementing GroupBar (Navigation Pane), ensure:

  • Required assemblies referenced (Syncfusion.Shared.Base.dll)
  • Namespace included (Syncfusion.Windows.Forms.Tools)
  • GroupBar instance created and configured
  • GroupBarItems added to GroupBarItems collection
  • GroupView created if displaying child items
  • Client property set to link GroupView to GroupBarItem
  • Visual style applied (VisualStyle property)
  • Dock property set for proper layout (typically DockStyle.Left)
  • Event handlers added for item selection
  • Testing with multiple items and navigation

Troubleshooting Quick Reference

Issue: GroupBar not visible

  • Check if GroupBar is added to form's Controls
  • Set Dock property (DockStyle.Left recommended)
  • Verify Width property is sufficient (200-250 pixels typical)
  • Ensure form has space for docked control

Issue: GroupBarItems not appearing

  • Verify items are added to GroupBarItems collection
  • Check Text property is set on each item
  • Ensure GroupBar.Visible = true
  • Verify items are not collapsed/hidden

Issue: Child items (GroupViewItems) not displaying

  • Create GroupView instance
  • Add GroupViewItems to GroupView.GroupViewItems collection
  • Set GroupBarItem.Client = groupView
  • Add GroupView to GroupBar.Controls collection

Issue: StackedMode not working

  • Set StackedMode = true
  • Ensure multiple GroupBarItems exist (need 2+ for stacking)
  • Check HeaderHeight property (0 hides header)
  • Verify visual style supports stacked mode

Issue: Theme not applying

  • Set VisualStyle property to desired theme
  • For Office2007/2010, set corresponding theme property (Office2007Theme, Office2010Theme)
  • For managed colors, call ApplyManagedColors method
  • Ensure Syncfusion.Shared.Base assembly is referenced

Issue: GroupView selection not working

  • Handle GroupViewItemSelected event
  • Check GroupView.SelectedItem property
  • Ensure GroupViewItems have unique identifiers
  • Verify click events are wired up

Summary

GroupBar (Navigation Pane) provides Outlook-style navigation functionality with:

  • Hierarchical Navigation: GroupBarItem groups with GroupView child items
  • Stacked Mode: Outlook-style navigation pane with collapsible sections
  • Office Themes: Office 2007/2010/2016, Metro, and custom themes
  • Nested Support: GroupBar within GroupBar capability
  • Serialization: Save/restore layout state
  • Customizable Appearance: Headers, borders, colors, animations

Use GroupBar when Outlook-style navigation, toolbox interfaces, categorized hierarchies, or themed navigation containers are needed for creating professional and organized WinForms applications.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.44%
按下载量换算85

Claude

29.5%
按下载量换算73

Cursor

19.45%
按下载量换算48

Gemini CLI

9.99%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills