Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winforms-ribbon(同步融合 winforms 功能区)

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

syncfusion-winforms-ribbon 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 5,465。

总安装 665周安装 28GitHub Stars 公开资料未说明下载 233核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

Syncfusion WinForms 功能区控件,模仿 Office 风格组织命令为选项卡式菜单结构。适合复杂桌面应用如编辑器、设计工具等需要分类管理大量功能的场景。支持折叠面板、快速访问工具栏、上下文标签页及自定义按钮组。需确保项目引用了完整的 Syncfusion Ribbon 组件,并注意主题切换时的样式同步。

在低分辨率屏幕上应测试布局自适应性,避免按钮重叠或文字截断问题。

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

上手步骤

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-ribbon 怎么安装?

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

syncfusion-winforms-ribbon 支持哪些 AI 工具?

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

syncfusion-winforms-ribbon 需要什么权限?

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

syncfusion-winforms-ribbon 是免费的吗?

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

syncfusion-winforms-ribbon 用的人多吗?

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

syncfusion-winforms-ribbon 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

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

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
syncfusion-winforms-ribbon

同步融合 winforms 功能区 · 本页

665—只读未明确通过

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

SKILL.md 原文

Implementing Syncfusion WinForms RibbonControlAdv

When to Use This Skill

Use this skill when implementing Syncfusion's WinForms RibbonControlAdv to create Microsoft Office-style ribbon interfaces. This component provides a comprehensive ribbon menu system with tabs, groups, various control types, backstage views, quick access toolbar, and modern simplified layout options.

Use this skill when users need to:

  • Create Office-style ribbon interfaces (Office 2007/2010/2013/2016/Touch styles)
  • Add tabs and groups (ToolStripEx) to organize commands
  • Implement backstage views or application menus
  • Add quick access toolbar (QAT) functionality
  • Support simplified layout mode for compact viewing
  • Handle ribbon states (maximized, minimized, auto-hide)
  • Add various ribbon controls (buttons, dropdowns, galleries, combo boxes)
  • Customize ribbon appearance and behavior at design-time or runtime
  • Support keyboard navigation and touch interfaces

Component Overview

The RibbonControlAdv is a sophisticated navigation control that accommodates all tools required for an application in a single, easy-to-navigate user interface similar to Microsoft Office. It provides:

  • Multiple Visual Styles: Office2007, Office2010, Office2013, Office2016, TouchStyle
  • Flexible Layouts: Normal and Simplified layout modes
  • Rich Control Support: Buttons, dropdowns, split buttons, combo boxes, galleries, checkboxes, radio buttons, text boxes, and more
  • Quick Access Toolbar (QAT): One-click access to frequently used commands
  • BackStage View: Office 2016-style application menu
  • Application Menu: Office 2007-style menu button
  • Dynamic Resizing: Intelligent collapse behavior based on window size
  • Customization: Runtime customization through dialogs
  • Keyboard & Touch Support: Full keyboard navigation and touch-optimized interface

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and adding RibbonControlAdv (designer and code)
  • Configuring RibbonForm for proper visual styling
  • Applying visual styles (Office2007, Office2010, Office2013, Office2016, TouchStyle)
  • Adding tabs (ToolStripTabItem) to organize features
  • Creating groups (ToolStripEx) within tabs
  • Adding basic button controls
  • Complete minimal working example

When to read: Starting a new ribbon implementation, setting up the basic structure, choosing visual styles.


Ribbon Controls

📄 Read: references/ribbon-controls.md

  • ToolStripButton - Standard clickable buttons
  • ToolStripRadioButton - Radio button selection
  • ToolStripDropDownButton - Dropdown menus
  • ToolStripSplitButton/Ex - Split button with dropdown
  • ToolStripComboBoxEx - Dropdown selection lists
  • ToolStripGallery - Visual item galleries with scrollers
  • ToolStripCheckBox - Checkbox options
  • ToolStripTextBox - Text input fields
  • ToolStripProgressBar - Progress indicators
  • ToolStripLabel - Text labels
  • ToolStripSeparator - Visual separators
  • ToolStripPanelItem - Multi-row layout container
  • Code examples for each control type

When to read: Adding specific control types to ribbon, understanding control properties and events, implementing complex control layouts.


Ribbon States and Display Modes

📄 Read: references/ribbon-states.md

  • Maximized, Minimized, and AutoHide states
  • DisplayOption property (ShowTabsAndCommands, ShowTabs, AutoHide)
  • State change mechanisms (display option button, double-click, minimize button, context menu)
  • DisplayOptionChanged event
  • Keyboard shortcuts (Ctrl+F1)
  • Tooltips for minimize/maximize buttons
  • ShowRibbonDisplayOptionButton and ShowMinimizeButton properties

When to read: Controlling ribbon visibility, implementing minimize/maximize functionality, handling ribbon state changes, troubleshooting minimize/maximize issues.


Quick Access Toolbar (QAT)

📄 Read: references/quick-access-toolbar.md

  • QAT overview and visibility control
  • Adding items (context menu, customize window, AddQuickItem method)
  • Removing items and restricting items from QAT
  • Quick Access Menu configuration
  • Custom images for QAT items using QATImageProvider
  • Adding backstage items to QAT
  • Creating new QAT items programmatically
  • QAT events (BeforeAddItem, BeforeRemoveItem, QuickItemAdded)

When to read: Implementing quick access toolbar, adding frequently used commands, customizing QAT appearance, handling QAT events.


BackStage View

📄 Read: references/backstage.md

  • BackStage overview (Office 2016-style application menu)
  • Creating and configuring BackStageView component
  • Adding BackStage tabs for content pages
  • Adding BackStage buttons for actions
  • BackStageSeparator for visual grouping
  • Integration with RibbonControlAdv via MenuButtonText
  • Complete code examples

When to read: Implementing Office 2016-style backstage, creating file/application menus, adding backstage tabs and buttons.


Application Menu

📄 Read: references/application-menu.md

  • ApplicationMenu overview (Office 2007-style menu)
  • Adding controls to menu panels
  • Mini-ToolBar integration
  • Differences between ApplicationMenu and BackStage
  • When to use ApplicationMenu vs BackStage

When to read: Implementing Office 2007-style application menu, understanding menu button functionality for Office2007 ribbon style.


Simplified Layout

📄 Read: references/simplified-layout.md

  • LayoutMode property (Normal vs Simplified)
  • EnableSimplifiedLayoutMode for runtime switching
  • RibbonItemDisplayMode enumeration (Normal, Simplified, OverflowMenu)
  • SetDisplayMode function for item visibility control
  • Medium image support (20x20 icons via SetMediumItemImage)
  • Overflow menu behavior during resizing
  • Runtime customization through QAT window
  • Best practices for simplified layout

When to read: Implementing compact ribbon interfaces, supporting layout switching, configuring overflow menus, optimizing for screen space.


Customization and Runtime Configuration

📄 Read: references/customization.md

  • Context menu options and customization
  • Customize Quick Access Toolbar dialog
  • Customize Ribbon dialog for runtime customization
  • Adding custom context menu items (BeforeContextMenuOpen event)
  • Serialization support for saving/loading state
  • Designer support and smart tags
  • SetUseInCustomQuickAccessDialog for restricting items

When to read: Enabling runtime customization, adding custom context menu items, implementing save/load ribbon state, restricting customization options.


Resize Behavior and Collapse Options

📄 Read: references/resize-behavior.md

  • Default collapse behavior (immediate dropdown conversion)
  • CollapseBehavior property (Default vs Office2010)
  • Office2010 collapse behavior (Large → Small → ExtraSmall → Dropdown)
  • ToolStripExImageProvider for multi-size images
  • SetLargeItemImage and SetSmallItemImage methods
  • Dynamic resizing based on window width
  • Launcher button configuration (ShowLauncher property)

When to read: Configuring resize behavior, implementing multi-size icons, customizing collapse patterns, adding launcher buttons to groups.


Advanced Features

📄 Read: references/advanced-features.md

  • Working with tabs (ToolStripTabItem management)
  • Contextual Tab Groups for context-sensitive tabs
  • StatusStripEx integration at form bottom
  • Ribbon Merge Support for MDI applications
  • Keyboard support and KeyTips
  • Touch support and touch-optimized UI
  • Localization support
  • Appearance customization (colors, fonts, themes)
  • Ribbon Designer for visual design
  • ToolTip and SuperTooltip configuration
  • EnableAeroTheme for classic Windows styling

When to read: Implementing advanced scenarios, contextual tabs, MDI integration, keyboard shortcuts, touch support, localization, theme customization.


Quick Start Example

Here's a minimal example to create a ribbon with tabs and basic controls:

using Syncfusion.Windows.Forms.Tools;

// 1. Make your form inherit from RibbonForm instead of Form
public partial class Form1 : RibbonForm
{
    private RibbonControlAdv ribbonControlAdv1;
    private ToolStripTabItem homeTab;
    private ToolStripEx clipboardToolStrip;
    private ToolStripButton pasteButton;
    private ToolStripButton cutButton;
    private ToolStripButton copyButton;

    public Form1()
    {
        InitializeComponent();
        InitializeRibbon();
    }

    private void InitializeRibbon()
    {
        // Create ribbon control
        ribbonControlAdv1 = new RibbonControlAdv();
        ribbonControlAdv1.RibbonStyle = RibbonStyle.Office2016;
        ribbonControlAdv1.MenuButtonText = "File";

        // Create Home tab
        homeTab = new ToolStripTabItem();
        homeTab.Text = "Home";

        // Create Clipboard group (ToolStripEx)
        clipboardToolStrip = new ToolStripEx();
        clipboardToolStrip.Text = "Clipboard";

        // Add buttons to group
        pasteButton = new ToolStripButton();
        pasteButton.Text = "Paste";
        pasteButton.Image = Image.FromFile("paste.png");

        cutButton = new ToolStripButton();
        cutButton.Text = "Cut";
        cutButton.Image = Image.FromFile("cut.png");

        copyButton = new ToolStripButton();
        copyButton.Text = "Copy";
        copyButton.Image = Image.FromFile("copy.png");

        // Build hierarchy
        clipboardToolStrip.Items.AddRange(new ToolStripItem[] {
            pasteButton, cutButton, copyButton
        });
        homeTab.Panel.Controls.Add(clipboardToolStrip);
        ribbonControlAdv1.Header.AddMainItem(homeTab);

        // Add ribbon to form
        this.Controls.Add(ribbonControlAdv1);
    }
}

Common Patterns

Adding Multiple Tabs

ToolStripTabItem homeTab = new ToolStripTabItem { Text = "Home" };
ToolStripEx clipboardGroup = new ToolStripEx { Text = "Clipboard" };
homeTab.Panel.Controls.Add(clipboardGroup);
ribbonControlAdv1.Header.AddMainItem(homeTab);

Quick Access Toolbar

ribbonControlAdv1.Header.AddQuickItem(new QuickButtonReflectable(saveButton));

Simplified Layout

ribbonControlAdv1.LayoutMode = RibbonLayoutMode.Simplified;
ribbonControlAdv1.EnableSimplifiedLayoutMode = true;
ribbonControlAdv1.SetDisplayMode(pasteButton, RibbonItemDisplayMode.Simplified);

State Changes

ribbonControlAdv1.DisplayOptionChanged += (sender, e) => {
    Console.WriteLine($"Ribbon changed to {e.NewValue}");
};

BackStage Setup

BackStage backStage1 = new BackStage();
backStage1.Controls.Add(new BackStageTab { Text = "Info" });
ribbonControlAdv1.BackStage = backStage1;

Multi-Size Images

ribbonControlAdv1.CollapseBehavior = CollapseBehavior.Office2010;
ToolStripExImageProvider imageProvider = new ToolStripExImageProvider(clipboardToolStrip);
imageProvider.SetLargeItemImage(pasteButton, 0);
imageProvider.SetSmallItemImage(pasteButton, 0);

Key Properties and Methods

Essential Properties

  • RibbonStyle - Office2007/2010/2013/2016/TouchStyle
  • LayoutMode - Normal or Simplified layout
  • DisplayOption - ShowTabsAndCommands, ShowTabs, AutoHide
  • CollapseBehavior - Default or Office2010 collapse pattern
  • MenuButtonText - File/Application menu button text
  • BackStage - Associated BackStage view
  • EnableSimplifiedLayoutMode - Allow layout switching

Key Methods

  • Header.AddMainItem(tab) - Add tab to ribbon
  • Header.AddQuickItem(item) - Add item to QAT
  • SetDisplayMode(item, mode) - Control item visibility

Important Events

  • DisplayOptionChanged - Ribbon state changes
  • BeforeContextMenuOpen - Customize context menu
  • Header.QuickItems.BeforeAddItem/BeforeRemoveItem - QAT changes

Common Use Cases

Use Case 1: Office-Style Document Editor

Implement a complete ribbon interface with Home, Insert, and View tabs, including clipboard operations, formatting tools, and view options.

Navigate to: getting-started.md → ribbon-controls.md → quick-access-toolbar.md


Use Case 2: Application with BackStage Settings

Create an application with a modern BackStage view for file operations, options, and application settings.

Navigate to: backstage.md → customization.md


Use Case 3: Compact Mobile-Style Interface

  1. Office-Style Document Editor - Complete ribbon with Home, Insert, View tabs → getting-started.md, ribbon-controls.md
  2. BackStage Settings - Modern BackStage view for file operations → backstage.md
  3. Compact Interface - Simplified layout with overflow menu → simplified-layout.md
  4. Customizable Application - Runtime ribbon customization → customization.md
  5. MDI with Contextual Tabs - Dynamic ribbon based on child window → advanced-feature Solution: Use QATImageProvider to set separate QAT images. Standard button images may not scale well. See quick-access-toolbar.md for QATImageProvider usage.

Issue: Controls Disappear During Window Resize

Problem: Ribbon controls vanish when window is resized smaller.

Solution: This is expected collapse behavior. Configure CollapseBehavior to Office2010 for gradual resizing, or implement multi-size images with ToolStripExImageProvider. See resize-behavior.md.


Issue: Simplified Layout Items Not Showing

Problem: Items don't appear when switching to simplified layout.

Solution: Use SetDisplayMode to configure item visibility. Set RibbonItemDisplayMode.Simplified or Normal | Simplified for cross-layout visibility. Add medium-size images (20x20) via SetMediumItemImage. See simplified-layout.md.


Issue: BackStage Not Appearing

Problem: Menu button doesn't show BackStage view.

Solution: Verify ribbonControlAdv1.BackStage is set and MenuButtonText is configured. BackStage only works with Office 2016 style. For Office 2007, use ApplicationMenu instead. See backstage.md and application-menu.md.


Best Practices

  1. Use RibbonForm: Always inherit from RibbonForm instead of Form for proper visual styling and theme support.
  2. Organize Logically: Group related commands in ToolStripEx groups, organize groups within tabs by workflow.
  • Minimize not working - Check DisplayOption; AutoHide shows temporarily, use ShowTabsAndCommands for persistent display → ribbon-states.md
  • QAT custom icons missing - Use QATImageProvider for QAT-specific images → quick-access-toolbar.md
  • Controls disappear on resize - Expected collapse behavior; use CollapseBehavior.Office2010 with multi-size images → resize-behavior.md
  • Simplified layout items hidden - Use SetDisplayMode(item, RibbonItemDisplayMode.Simplified) and add 20x20 medium images → simplified-layout.md
  • BackStage not appearing - Verify BackStage property set, MenuButtonText configured; requires Office2016 style (use ApplicationMenu for Office2007) → backstage.md- Use RibbonForm - Inherit from RibbonForm for proper styling and theme support
  • Organize Logically - Group related commands in ToolStripEx, organize by workflow
  • Implement QAT - Enable Quick Access Toolbar for frequently used commands
  • Multi-Size Images - Provide 32x32, 16x16, 20x20 images for all states
  • Handle State Changes - Use DisplayOptionChanged event to save user preferences
  • Runtime Customization - Enable customization dialogs for user personalization
  • Keyboard & Touch - Leverage built-in KeyTips and touch support
  • Contextual Tabs - Show context-specific tabs (e.g., "Picture Tools" when image selected)
  • Test Resizing - Verify controls collapse gracefully at different window sizes

平台分布

Codex

38.95%
按下载量换算91

Claude

28.14%
按下载量换算66

Cursor

19.71%
按下载量换算46

Gemini CLI

10.64%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills