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

syncfusion-aspnetcore-ribbon同步融合 aspnetcore 功能区

Agent Skill

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

总安装

214

周安装

9

GitHub Stars

公开资料未说明

下载量

75
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

同步融合 ASP.NET Core 功能区组件,组织高频操作命令入口。

  • 适用于专业软件工具栏、菜单栏替代方案等界面布局场景。
  • 通过 GitHub 安装并自定义选项卡结构,支持上下文敏感显示。
  • 使用前应测试不同分辨率下的布局适配效果,确保可用性。
  • 自定义图标时应统一尺寸规范,避免加载延迟问题。syncfusion-aspnetcore-ribbon 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Syncfusion ASP.NET Core Ribbon Control

Overview

A comprehensive skill for implementing the Syncfusion EJ2 Ribbon component in ASP.NET Core applications using Razor Tag Helpers. This skill covers installation, setup, component structure, all item types, events, theming, and advanced features. The Ribbon component is a feature-rich navigation control that:

  • Organizes commands in tabs and groups - Tabbed interface with logical grouping
  • Supports 7 item types - Button, CheckBox, DropDown, SplitButton, ComboBox, ColorPicker, GroupButton
  • Provides file menu & backstage - Traditional file menu or modern backstage view
  • Contextual tabs on demand - Tabs appear when needed (e.g., on image/table selection)
  • Gallery items - Visual selection of styles, templates, or options
  • Responsive layouts - Classic (multi-row) and Simplified (compact) modes
  • Keyboard navigation - KeyTips for Alt+key shortcuts
  • WCAG 2.1 compliant - Full accessibility support with ARIA
  • Built-in themes - Material, Bootstrap, Fluent, Tailwind, Fabric

Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • NuGet package installation
  • Tag Helper registration in _ViewImports.cshtml
  • CSS and script setup in _Layout.cshtml
  • First working example with complete setup
  • Available themes (Material, Bootstrap, Fluent, Tailwind, Fabric)
  • Advanced feature registration (no separate module injection needed in ASP.NET Core)
  • Localization with locale property
  • State persistence with enablePersistence

Ribbon Structure

📄 Read: references/ribbon-structure.md

  • Component hierarchy (Ribbon → Tab → Group → Collection → Item)
  • Adding tabs with <e-ribbon-tab>
  • Adding groups with <e-ribbon-group>
  • Adding collections and items
  • Organizing ribbon content
  • Best practices for structure

Items & Groups Configuration

📄 Read: references/items-and-groups.md

  • All 7 item types (Button, CheckBox, DropDown, SplitButton, ComboBox, ColorPicker, GroupButton, Template)
  • Exact RibbonXxxSettings configuration for each type
  • Group properties (header, collapsibility, priority, overflow)
  • Item sizing (Large, Medium, Small)
  • Display options (Auto, Classic, Simplified, Overflow)
  • Disabled states

Tabs & Groups Management

📄 Read: references/tabs-and-groups.md

  • Tab management patterns
  • Multi-tab setup examples
  • Group organization
  • Collapsibility control (isCollapsible)
  • Priority handling (higher = collapses first)
  • Launcher icons
  • Group overflow behavior

Layouts & Display Modes

📄 Read: references/layouts-display-modes.md

  • Classic layout (default, multi-row)
  • Simplified layout (compact, single-row)
  • Layout switching
  • Responsive resizing behavior
  • Item sizing progression (Large → Medium → Small)
  • Minimized state
  • Hide layout switcher option

File Menu & Backstage

📄 Read: references/file-menu-backstage.md

  • File menu basics (<e-ribbon-filemenusettings>)
  • Menu item configuration with MenuItem list
  • Backstage view (<e-ribbon-backstagemenusettings>)
  • Backstage items with content
  • Footer items and separators
  • Back button customization

Contextual Tabs & Gallery

📄 Read: references/contextual-tabs-gallery.md

  • Contextual tabs on demand
  • Visibility control with conditions
  • Gallery items (type=Gallery)
  • Gallery groups with headers
  • Gallery item properties (content, iconCss, disabled)
  • Visual selection patterns

Events & Accessibility

📄 Read: references/events-accessibility.md

  • Ribbon events (tabSelected, tabSelecting, itemClick, etc.)
  • KeyTips configuration (enableKeyTips, keyTip property)
  • Keyboard navigation
  • WCAG 2.1 compliance
  • ARIA attributes support
  • RTL support (enableRtl)

Customization & Theming

📄 Read: references/customization-theming.md

  • Built-in themes table (5 themes)
  • Theme CSS import paths
  • Theme switching implementation
  • CSS customization classes
  • Dark mode support
  • Custom icons and styling

Tooltips & Help

📄 Read: references/tooltips-help-pane.md

  • Item tooltips with RibbonTooltipSettings
  • Title and content properties
  • Custom tooltip HTML
  • Help pane component patterns
  • Contextual help implementation

Methods & Properties

📄 Read: references/methods-and-properties.md

  • Ribbon methods (getComponent, destroy)
  • Key events and callbacks
  • Property access patterns
  • Programmatic control
  • State management

Troubleshooting

📄 Read: references/troubleshooting.md

  • Common issues and solutions
  • Tag helper registration problems
  • Data binding issues
  • Event handling troubleshooting
  • Performance optimization
  • Styling problems
  • ASP.NET Core-specific gotchas

Key Properties & Events

Essential Properties:

  • id - Unique identifier for the ribbon
  • activeLayout - Set to Classic or Simplified
  • isMinimized - Collapse/expand the ribbon (true/false)
  • enableKeyTips - Enable keyboard shortcuts (true/false)
  • enableRtl - Right-to-left support (true/false)
  • hideLayoutSwitcher - Hide layout switcher button (true/false)
  • layoutSwitcherKeyTip - KeyTip character for the layout switcher button
  • helpPaneTemplate - CSS selector or HTML string for the right-side help pane
  • enablePersistence - Persist ribbon state across page reloads (true/false)
  • locale - Locale string for built-in UI text (e.g., "en-us", "fr-FR")

Key Events:

  • created - Triggered after component creation
  • tabSelected - Triggered after tab selection (args.selectedIndex, args.previousIndex, args.isContextual)
  • tabSelecting - Triggered before tab selection (args.cancel to prevent, args.isInteracted)
  • ribbonCollapsing - Triggered before ribbon collapses (args.cancel to prevent)
  • ribbonExpanding - Triggered before ribbon expands (args.cancel to prevent)
  • ribbonLayoutSwitched - Triggered after layout switch (args.activeLayout)
  • launcherIconClick - Triggered when a group launcher icon is clicked (args.groupId)
  • overflowPopupOpen - Triggered when overflow popup opens (args.element, args.cancel)
  • overflowPopupClose - Triggered when overflow popup closes (args.element, args.cancel)

Quick Start

Basic Ribbon with Tabs & Groups

@using Syncfusion.EJ2
@using Syncfusion.EJ2.Ribbon
@using Syncfusion.EJ2.Navigations

<ejs-ribbon id="ribbon">
    <e-ribbon-tabs>
        <e-ribbon-tab header="Home">
            <e-ribbon-groups>
                <e-ribbon-group header="Clipboard">
                    <e-ribbon-collections>
                        <e-ribbon-collection>
                            <e-ribbon-items>
                                <e-ribbon-item type=Button>
                                    <e-ribbon-buttonsettings iconCss="e-icons e-paste" content="Paste"></e-ribbon-buttonsettings>
                                </e-ribbon-item>
                            </e-ribbon-items>
                        </e-ribbon-collection>
                    </e-ribbon-collections>
                </e-ribbon-group>
            </e-ribbon-groups>
        </e-ribbon-tab>
        <e-ribbon-tab header="Insert">
            <e-ribbon-groups>
                <e-ribbon-group header="Tables">
                    <e-ribbon-collections>
                        <e-ribbon-collection>
                            <e-ribbon-items>
                                <e-ribbon-item type=Button>
                                    <e-ribbon-buttonsettings iconCss="e-icons e-table" content="Table"></e-ribbon-buttonsettings>
                                </e-ribbon-item>
                            </e-ribbon-items>
                        </e-ribbon-collection>
                    </e-ribbon-collections>
                </e-ribbon-group>
            </e-ribbon-groups>
        </e-ribbon-tab>
    </e-ribbon-tabs>
</ejs-ribbon>

With File Menu

@{
    List<MenuItem> fileOptions = new List<MenuItem>() {
        new MenuItem { Text = "New", IconCss = "e-icons e-file-new" },
        new MenuItem { Text = "Open", IconCss = "e-icons e-folder-open" },
        new MenuItem { Text = "Save", IconCss = "e-icons e-save" }
    };
}

<ejs-ribbon id="ribbon">
    <e-ribbon-filemenusettings visible="true" menuItems=fileOptions></e-ribbon-filemenusettings>
    <e-ribbon-tabs>
        <!-- tabs -->
    </e-ribbon-tabs>
</ejs-ribbon>

Common Patterns

Pattern: Multi-Tab Ribbon with Multiple Groups

<ejs-ribbon id="ribbon">
    <e-ribbon-tabs>
        <e-ribbon-tab header="Home">
            <e-ribbon-groups>
                <e-ribbon-group header="Clipboard" orientation=Row>
                    <!-- Items -->
                </e-ribbon-group>
                <e-ribbon-group header="Font" orientation=Row enableGroupOverflow=true>
                    <!-- Items -->
                </e-ribbon-group>
            </e-ribbon-groups>
        </e-ribbon-tab>
        <e-ribbon-tab header="View">
            <e-ribbon-groups>
                <e-ribbon-group header="Views" orientation=Row>
                    <!-- Items -->
                </e-ribbon-group>
            </e-ribbon-groups>
        </e-ribbon-tab>
    </e-ribbon-tabs>
</ejs-ribbon>

Pattern: Multiple Item Types in Groups

@{
    List<string> fontOptions = new List<string>() { "Arial", "Calibri", "Cambria", "Georgia" };
}

<e-ribbon-group header="Formatting">
    <e-ribbon-collections>
        <e-ribbon-collection>
            <e-ribbon-items>
                <!-- ComboBox -->
                <e-ribbon-item type=ComboBox>
                    <e-ribbon-comboboxsettings dataSource=fontOptions index=0 width="120px"></e-ribbon-comboboxsettings>
                </e-ribbon-item>
                <!-- ColorPicker -->
                <e-ribbon-item type=ColorPicker allowedSizes=Small>
                    <e-ribbon-colorpickersettings value="#123456"></e-ribbon-colorpickersettings>
                </e-ribbon-item>
                <!-- Toggle Button -->
                <e-ribbon-item type=Button allowedSizes=Small>
                    <e-ribbon-buttonsettings iconCss="e-icons e-bold" isToggle=true></e-ribbon-buttonsettings>
                </e-ribbon-item>
            </e-ribbon-items>
        </e-ribbon-collection>
    </e-ribbon-collections>
</e-ribbon-group>

Pattern: Event Handling

<ejs-ribbon id="ribbon"
    tabSelected="onTabSelected"
    tabSelecting="onTabSelecting"
    ribbonLayoutSwitched="onLayoutSwitched"
    launcherIconClick="onLauncherClick">
    <!-- ribbon content -->
</ejs-ribbon>

<script>
    function onTabSelected(args) {
        console.log('Tab selected:', args.selectedIndex);
        console.log('Previous tab:', args.previousIndex);
        console.log('Is contextual:', args.isContextual);
    }

    function onTabSelecting(args) {
        console.log('Tab selecting:', args.selectedIndex);
        // args.cancel = true; // Prevent selection if needed
    }

    function onLayoutSwitched(args) {
        console.log('Layout changed to:', args.activeLayout); // 'Classic' or 'Simplified'
    }

    function onLauncherClick(args) {
        console.log('Launcher clicked for group:', args.groupId);
    }
</script>

Workflow Pattern

When a user needs Ribbon functionality:

  1. Identify scope: Tab organization, item types, file menu, events needed
  2. Start with Getting Started: Installation and basic setup
  3. Choose references based on features:

- Items configuration → items-and-groups.md - Layout/responsive → layouts-display-modes.md - File menu → file-menu-backstage.md - Keyboard/accessibility → events-accessibility.md - Look & feel → customization-theming.md

  1. Implement patterns following copy-paste examples
  2. Debug issues → troubleshooting.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.85%
按下载量换算26

Claude

29.87%
按下载量换算22

Cursor

16.92%
按下载量换算13

Gemini CLI

9.48%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills