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

syncfusion-winforms-tabbed-form同步融合 winforms 选项卡式表单

Agent Skill

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

总安装

238

周安装

10

GitHub Stars

1

下载量

83
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

Syncfusion WinForms 选项卡式表单控件,将多个页面组织为标签页以减少界面空间占用。

  • 适用于向导流程、设置页面、多步骤表单等需要分阶段展示的交互设计。
  • 支持动态添加/删除标签、图标、关闭按钮及键盘快捷键导航。
  • 使用前请检查 Syncfusion 是否提供此表单容器,并验证对 TabPage 内容的渲染稳定性。
  • 在长表单中应合理分页,避免单个标签页过长导致滚动困难或内存压力。

SKILL.md

Implementing Syncfusion Windows Forms Tabbed Form

The Syncfusion Tabbed Form (SfTabbedForm) provides a tabbed user interface for Windows Forms applications. Users can add any number of tabs, with each tab containing any number of controls. Tabs can be loaded into the form's title bar or displayed below the title bar.

When to Use This Skill

Use this skill when you need to:

  • Create tabbed user interfaces in Windows Forms applications
  • Convert standard forms to tabbed forms with title bar integration
  • Implement multi-document interfaces (MDI) alternatives
  • Add tab management features (add, close, reorder tabs)
  • Handle tab selection and navigation programmatically
  • Enable drag-and-drop tab reordering
  • Customize context menus for tabs (like web browsers)

Key Features

  • Easy Navigation: Built-in navigation buttons (first, last, next, previous, dropdown)
  • Tab Management: Close tabs using close button, programmatic tab control
  • Drag and Drop: Reorder tabs by dragging
  • Title Bar Integration: Display tabs in title bar or below it
  • Context Menus: Customizable right-click menus on tabs

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly deployment and dependencies
  • Converting standard form to SfTabbedForm
  • Loading TabbedFormControl to the form
  • Adding tabs (TabPageAdv) to the control
  • Configuring title bar integration (ExtendTabsToTitleBar)
  • Basic tab setup and initialization

Tab Selection

📄 Read: references/tab-selection.md

  • Programmatic selection (SelectedIndex, SelectedTab properties)
  • SelectedIndexChanging event (with cancellation support)
  • SelectedIndexChanged event
  • Event handling patterns
  • Restricting tab selection

Tab Navigation

📄 Read: references/tab-navigation.md

  • TabPrimitiveMode property configuration
  • Built-in navigation buttons (FirstTab, LastTab, NextTab, PreviousTab, DropDown)
  • TabPrimitiveClick event handling
  • Navigation control customization
  • Handling tab overflow scenarios

Drag and Drop

📄 Read: references/drag-and-drop.md

  • Enabling drag and drop (AllowDraggingTabs property)
  • TabDragging event and TabDraggingEventArgs
  • TabDraggingAction states (DragStarting, DragDropping)
  • Canceling tab dragging for specific tabs
  • Preventing tab reordering to specific positions

Context Menu

📄 Read: references/context-menu.md

  • TabContextMenu property
  • Creating custom context menus with ContextMenuStrip
  • ContextMenuOpening event for dynamic menu customization
  • Browser-style context menus (Close, Close All But This, Close Tabs to Right)
  • Conditional menu item enabling/disabling

Customization

📄 Read: references/customization.md

  • ExtendTabsToTitleBar property for title bar integration
  • Tab appearance and styling options
  • TabbedFormControl properties and configuration
  • Customizing tab headers

Quick Start Example

Basic Tabbed Form Setup

using Syncfusion.Windows.Forms.Tools;

public partial class Form1 : SfTabbedForm
{
    private SfTabbedFormControl tabbedFormControl;

    public Form1()
    {
        InitializeComponent();

        // Create and configure the tabbed form control
        tabbedFormControl = new SfTabbedFormControl();

        // Add tabs
        TabPageAdv tabPageAdv1 = new TabPageAdv();
        TabPageAdv tabPageAdv2 = new TabPageAdv();
        tabPageAdv1.Text = "Document1";
        tabPageAdv2.Text = "Document2";

        tabbedFormControl.Tabs.Add(tabPageAdv1);
        tabbedFormControl.Tabs.Add(tabPageAdv2);

        // Add control to form
        this.Controls.Add(tabbedFormControl);
        this.TabbedFormControl = tabbedFormControl;
    }
}

VB.NET Example

Imports Syncfusion.Windows.Forms.Tools

Partial Public Class Form1
    Inherits SfTabbedForm
    Private tabbedFormControl As SfTabbedFormControl

    Public Sub New()
        InitializeComponent()

        ' Create and configure the tabbed form control
        tabbedFormControl = New SfTabbedFormControl()

        ' Add tabs
        Dim tabPageAdv1 As New TabPageAdv()
        Dim tabPageAdv2 As New TabPageAdv()
        tabPageAdv1.Text = "Document1"
        tabPageAdv2.Text = "Document2"

        tabbedFormControl.Tabs.Add(tabPageAdv1)
        tabbedFormControl.Tabs.Add(tabPageAdv2)

        ' Add control to form
        Me.Controls.Add(tabbedFormControl)
        Me.TabbedFormControl = tabbedFormControl
    End Sub
End Class

Common Patterns

Pattern 1: Tabs Below Title Bar

public Form1()
{
    InitializeComponent();

    // Disable extending tabs to title bar
    this.ExtendTabsToTitleBar = false;

    // Setup tabbed control as usual
    tabbedFormControl = new SfTabbedFormControl();
    // ... add tabs
}

Pattern 2: Enable Drag and Drop with Navigation

public Form1()
{
    InitializeComponent();

    tabbedFormControl = new SfTabbedFormControl();

    // Enable drag and drop
    tabbedFormControl.AllowDraggingTabs = true;

    // Add navigation buttons
    tabbedFormControl.TabPrimitiveMode = TabPrimitiveMode.DropDown |
                                         TabPrimitiveMode.FirstTab |
                                         TabPrimitiveMode.LastTab;

    // ... add tabs
}

Pattern 3: Programmatic Tab Selection

// Select by index
this.tabbedFormControl.SelectedIndex = 1;

// Or select by tab reference
this.tabbedFormControl.SelectedTab = tabPageAdv2;

Pattern 4: Context Menu with Close Options

public Form1()
{
    InitializeComponent();

    tabbedFormControl = new SfTabbedFormControl();

    // Setup context menu
    ContextMenuStrip tabContextMenu = new ContextMenuStrip();
    tabContextMenu.Items.Add("Close", null, OnCloseMenuClicked);
    tabContextMenu.Items.Add("Close all but this", null, OnCloseAllMenuClicked);

    tabbedFormControl.TabContextMenu = tabContextMenu;
    tabbedFormControl.ContextMenuOpening += TabbedFormControl_ContextMenuOpening;

    // ... add tabs
}

Key Properties and Events

Core Properties

  • TabbedFormControl: Main control containing tabs
  • ExtendTabsToTitleBar: Boolean to show tabs in title bar (default: true)
  • SelectedIndex: Zero-based index of selected tab
  • SelectedTab: Reference to selected TabPageAdv
  • AllowDraggingTabs: Enable/disable tab drag and drop
  • TabPrimitiveMode: Configure navigation buttons
  • TabContextMenu: Custom context menu for tabs

Key Events

  • SelectedIndexChanging: Before tab selection changes (cancellable)
  • SelectedIndexChanged: After tab selection changes
  • TabPrimitiveClick: When navigation button is clicked
  • TabDragging: During tab drag operations
  • ContextMenuOpening: Before context menu displays

Common Use Cases

  1. Multi-Document Interface: Create applications with multiple documents in tabs
  2. Settings/Options Dialogs: Organize settings across multiple tabbed pages
  3. Data Entry Forms: Split complex forms into logical tabbed sections
  4. Report Viewers: Display multiple reports in separate tabs
  5. Code Editors: Implement IDE-style tabbed file editing
  6. Browser-Style Applications: Create web browser-like tab management

Assembly Reference

Add reference to Syncfusion.Tools.Windows and Syncfusion.Shared.Base assembly or install via NuGet:

Install-Package Syncfusion.Tools.Windows

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38%
按下载量换算32

Claude

28.76%
按下载量换算24

Cursor

17.4%
按下载量换算14

Gemini CLI

9.8%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills