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

syncfusion-winforms-tabbed-mdi-managerSynfusion Winforms 选项卡式 MDI 管理器

Agent Skill

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

总安装

685

周安装

28

GitHub Stars

公开资料未说明

下载量

222
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

Syncfusion WinForms 选项卡式 MDI 管理器控件,将多文档界面(MDI)转换为标签页形式。

  • 适用于传统 MDI 应用向现代单文档界面(SDI)迁移的改造场景。
  • 支持文档分组、跨窗口拖放、最近使用列表及标签页缩略图预览。
  • 需确认 Syncfusion 版本是否包含此 MDI 管理器,并测试对最大化/最小化行为的处理。
  • 注意标签页过多时的内存占用,建议实现自动清理或限制最大打开数量。

SKILL.md

Implementing Syncfusion Windows Forms TabbedMDIManager

The TabbedMDIManager is a powerful Windows Forms control that provides a modern tabbed interface for Multiple Document Interface (MDI) applications. It replaces the default Cascade/Tiled modes with a professional tabbed layout similar to Visual Studio.NET IDE.

When to Use This Skill

Use this skill whenever you need to:

  • Create tabbed MDI interfaces for desktop applications
  • Organize multiple child windows as tabs
  • Support multiple tab groups with resizable splitters
  • Customize tab appearance, colors, fonts, and styles
  • Apply professional themes (Office 2007/2016, Metro, etc.)
  • Handle tab events and user interactions
  • Save and restore application layout using serialization
  • Configure button controls (close, dropdown)
  • Enable tooltips and context menus
  • Align tabs in different positions (top, bottom, left, right)

Component Overview

Key Features:

  • ✅ Multiple tab groups with splitter support
  • ✅ 15+ built-in themes and tab styles
  • ✅ Individual and dynamic tab control
  • ✅ Complete customization of colors, fonts, and appearance
  • ✅ Serialization support (XML, Binary, Isolated Storage)
  • ✅ Event-driven architecture
  • ✅ Tooltip and context menu support
  • ✅ Button controls (close button, dropdown)
  • ✅ RTL support
  • ✅ Tab alignment (Top, Bottom, Left, Right)

Documentation Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and NuGet package setup
  • Assembly references required
  • Adding control via designer and code
  • Creating first MDI child form
  • Attaching to MDI container
  • Basic usage patterns

Tab Alignment & Positioning

📄 Read: references/tab-alignment.md

  • Align tabs to Top, Bottom, Left, or Right
  • TabControlAdded event usage
  • Positioning tabs in different orientations
  • Changing alignment dynamically

Tab Groups & Organization

📄 Read: references/tab-groups.md

  • Creating multiple tab groups
  • Resizing groups with splitters
  • Horizontal and vertical arrangements
  • Controlling number and layout of groups
  • Associating forms with specific tab groups
  • Creating custom tabbed layouts

Button Configuration

📄 Read: references/button-settings.md

  • Dropdown button visibility and styling
  • Close button configuration
  • Individual tab close buttons
  • Middle mouse button click to close
  • Customizing button colors
  • ShowCloseButtonForForm method usage

Appearance & Styling

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

  • Tab text and icon configuration
  • 15+ tab styles (2D, 3D, Office, Metro, etc.)
  • Active/inactive tab colors
  • Custom fonts for tabs
  • Icon sizes and positioning
  • Tab panel customization
  • Border and background colors

Tab Styles & Themes

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

  • All available tab styles overview
  • Office 2007/2016 color schemes
  • OneNote and Metro styles
  • IE7 and WhidbeyStyle options
  • Window layout styles (Cascade, Tile, etc.)
  • Switching between styles dynamically
  • Office2007ColorScheme property

Events & Interaction

📄 Read: references/events-and-interaction.md

  • BeforeMDIChildAdded event
  • TabControlAdded and TabControlAdding events
  • TabControlRemoved event
  • BeforeDropDownPopup event
  • UnLockingMdIClient event
  • Event-driven customization
  • Context menu customization
  • Tooltip support

Serialization & State Management

📄 Read: references/serialization-and-state.md

  • Save tab group layout using AppStateSerializer
  • Load saved layouts on application startup
  • Serialization formats (XML, Binary, Isolated Storage)
  • Memory stream serialization
  • ClearSavedTabGroupState usage
  • Singleton pattern for AppStateSerializer
  • Restoring application state

Quick Start Example

// Step 1: Add namespace
using Syncfusion.Windows.Forms.Tools;

// Step 2: Create TabbedMDIManager
TabbedMDIManager tabbedMDIManager = new TabbedMDIManager();

// Step 3: Configure MDI container
this.IsMdiContainer = true;
tabbedMDIManager.AttachToMdiContainer(this);

// Step 4: Apply theme
tabbedMDIManager.ThemesEnabled = true;
tabbedMDIManager.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2016White);

// Step 5: Enable buttons
tabbedMDIManager.CloseButtonVisible = true;
tabbedMDIManager.DropDownButtonVisible = true;

// Step 6: Create child window
Form childForm = new Form() { Text = "Document 1", MdiParent = this };
childForm.Show();

Common Patterns

Pattern 1: Multiple Tab Groups

// Create multiple tab groups by using TabbedGroupedMDIManager
TabbedGroupedMDIManager tabbedMDIManager = new TabbedGroupedMDIManager();
tabbedMDIManager.AttachToMdiContainer(this);

// Forms added will be grouped as tabs
Form doc1 = new Form() { Text = "Document 1", MdiParent = this };
Form doc2 = new Form() { Text = "Document 2", MdiParent = this };
doc1.Show();
doc2.Show();

Pattern 2: Custom Tab Styling

// Handle TabControlAdded to customize each tab group
tabbedMDIManager.TabControlAdded += (sender, args) =>
{
    args.TabControl.Alignment = TabAlignment.Bottom;
    args.TabControl.Font = new Font("Arial", 10, FontStyle.Bold);
};

Pattern 3: Save & Restore Layout

// On application close: Save layout
AppStateSerializer serializer = new AppStateSerializer(SerializeMode.XMLFile, "AppState");
tabbedMDIManager.SaveTabGroupStates(serializer);
serializer.PersistNow();

// On application startup: Load layout
AppStateSerializer serializer = new AppStateSerializer(SerializeMode.XMLFile, "AppState");
tabbedMDIManager.LoadTabGroupStates(serializer);

Pattern 4: Custom Context Menu

// Add custom items to tab context menu
using Syncfusion.Windows.Forms.Tools.XPMenus;

ParentBarItem contextMenu = new ParentBarItem();
BarItem customItem = new BarItem() { Text = "Custom Action", MergeOrder = 30 };
contextMenu.Items.Add(customItem);
tabbedMDIManager.ContextMenuItem = contextMenu;

Key Properties Summary

PropertyPurposeExample
ThemesEnabledEnable/disable theme supporttabbedMDIManager.ThemesEnabled = true;
TabStyleSet tab visual styletypeof(TabRenderer2D) to TabRendererOffice2016Black
CloseButtonVisibleShow/hide close buttontrue to show close button
DropDownButtonVisibleShow/hide dropdown buttontrue to show dropdown
ShowCloseButtonIndividual close buttons per tabtrue for per-tab close buttons
ShowCloseButtonForActiveTabOnlyClose button only on active tabtrue to limit to active tab
UseIconsInTabsDisplay icons in tab headerstrue to show icons
ImageSizeSize of tab iconsnew Size(16, 16)
ActiveTabBackColorActive tab backgroundColor.Blue
TabBackColorInactive tab backgroundColor.Gray
ActiveTabFontActive tab font stylenew Font("Arial", 10, FontStyle.Bold)
TabFontInactive tab font stylenew Font("Arial", 10)
AlignmentTab position (via TabControl)TabAlignment.Bottom, Left, Right
CloseOnMiddleButtonClickMiddle mouse button closes tabstrue to enable

Common Use Cases

Use Case 1: Visual Studio Style MDI

Create a professional MDI application with tabbed layout, multiple tab groups, and VS-like appearance.

Use Case 2: Document Editor

Build a multi-document editor with tabs for each open document, themes, and serialization to restore previous session.

Use Case 3: Data Analysis Tool

Create an application with multiple analysis tabs, groupable by functionality with custom styling.

Use Case 4: Project Management

Build a UI with different task tabs, customizable appearance, and persistent layout across sessions.

Next Steps

  1. Start with Getting Started to set up your first TabbedMDI application
  2. Explore Tab Groups if you need multiple resizable document areas
  3. Customize Appearance for professional theming and styling
  4. Add Interactivity with events and context menus
  5. Implement Serialization to save user preferences and layouts

Additional Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.28%
按下载量换算78

Claude

32.83%
按下载量换算73

Cursor

19.04%
按下载量换算42

Gemini CLI

9.69%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills