Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winforms-docking-manager(Synfusion Winforms 对接管理器)

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

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

总安装 816周安装 34GitHub Stars 1下载 272核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态进行信息整理。通过 GitHub 仓库安装,需参考原始 README 了解功能细节。安装前建议确认权限与维护状态,防止意外执行命令或访问资源。

适用于项目协作与代码变更跟踪。

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

上手步骤

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

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

syncfusion-winforms-docking-manager 支持哪些 AI 工具?

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

syncfusion-winforms-docking-manager 需要什么权限?

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

syncfusion-winforms-docking-manager 是免费的吗?

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

syncfusion-winforms-docking-manager 用的人多吗?

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

syncfusion-winforms-docking-manager 安全吗?

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

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

值得选的地方

  • 同时适配 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-docking-manager

Synfusion Winforms 对接管理器 · 本页

8161只读未明确通过

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

SKILL.md 原文

Implementing Syncfusion WinForms Docking Manager

The DockingManager control implements an architecture that allows panels to be docked at any part of form, creating Visual Studio-style dockable windows. Dock panels can be interactively dragged, resized, floated, auto-hidden, tabbed, and arranged in complex layouts at runtime.

When to Use This Skill

Use this skill when you need to:

  • Create Visual Studio-style docking layouts with dockable panels and windows
  • Implement multiple dock states: docked, floating, auto-hide, tabbed, MDI, or TDI windows
  • Build document-based applications with TDI (Tabbed Document Interface) or MDI (Multiple Document Interface)
  • Add caption buttons (close, pin, menu, maximize) to docked windows
  • Persist dock layouts across application sessions using serialization
  • Handle dock events for activation, state changes, and user interactions
  • Customize appearance with visual styles, themes, and colors
  • Manage nested or linked docking managers for complex layouts
  • Implement drag-and-drop docking with visual feedback and hints

Component Overview

DockingManager transforms any control into a fully-featured docking window with:

  • Dock States: Docked (Left, Right, Top, Bottom), Floating, Auto-Hide, Tabbed, Fill
  • Document Windows: TDI (Tabbed Documents) and MDI (Multiple Documents)
  • Caption Buttons: Close, Pin (Auto-Hide), Menu, Maximize, Restore, and custom buttons
  • Visual Styles: Metro, Office2016 (Colorful, White, DarkGray, Black), VS2010, Office2007/2010
  • Serialization: Save/load dock state to XML, binary, memory stream, or isolated storage
  • Events: 25+ events for dock state changes, activation, dragging, context menus
  • Advanced Features: Nested managers, linked managers, dock restrictions, tab groups

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly deployment
  • Creating DockingManager instance
  • Adding dock child windows with SetEnableDocking
  • Setting dock labels and icons
  • Basic docking setup and configuration

Dock States and Layouts

📄 Read: references/dock-states.md

  • Dock state overview (Docked, Float, Auto-Hide, Tabbed, Fill)
  • DockControl function to change states programmatically
  • Setting dock sides (Left, Right, Top, Bottom, Tabbed)
  • Detecting and managing dock states
  • Dock ability restrictions

Document Windows (TDI/MDI)

📄 Read: references/document-windows.md

  • TDI (Tabbed Document Interface) implementation
  • MDI (Multiple Document Interface) setup
  • EnableDocumentMode property
  • DockAsDocument function for adding document tabs
  • Window modes (Tool vs Document behavior)
  • Creating and managing document tab groups
  • Freezing document state

Caption Buttons and Customization

📄 Read: references/caption-buttons.md

  • Default caption buttons (Close, Pin, Menu, Maximize, Restore)
  • Show/hide specific buttons with Set/Get functions
  • Adding custom caption buttons to CaptionButtons collection
  • Button click handling and events
  • Customizing button appearance and colors
  • Button tooltips and SuperTooltips

Floating Windows

📄 Read: references/floating-windows.md

  • Creating floating windows with FloatControl
  • Floating by user drag interaction
  • Enabling/disabling float functionality
  • Floating window properties (border, size, location)
  • Maximize floating windows
  • Float-only windows (prevent re-docking)
  • Show custom buttons in floating state

Auto-Hide Windows

📄 Read: references/auto-hide-windows.md

  • Auto-hide functionality overview
  • SetAutoHideMode function
  • Auto-hide programmatically or by user pin button
  • Changing auto-hide side with DockControlInAutoHideMode
  • Auto-hide on load with SetAutoHideOnLoad
  • Animation settings and speed
  • Auto-hide tab customization
  • Auto-hide selection style (MouseHover vs Click)

Tabbed Windows

📄 Read: references/tabbed-windows.md

  • Tabbing windows together with Tabbed dock style
  • Creating tab groups at design time and runtime
  • Tab alignment options (Top, Bottom, Left, Right)
  • Tab reordering with AllowTabsMoving
  • Preventing tabbing with DockAbility
  • Tab position management with Set/GetTabPosition
  • Tab scroll buttons

Appearance and Visual Styles

📄 Read: references/appearance-customization.md

  • Visual styles (Default, Metro, Office2016, VS2010, Office2007/2010)
  • Office color schemes (Blue, Silver, Black, Managed)
  • Custom colors for Office2007/2010
  • Caption customization (background, foreground, font)
  • Border colors and splitter customization
  • Dock tab appearance (colors, fonts, height)
  • Document tab styling
  • Auto-hide tab styling
  • Drag provider styles (VS2005, VS2008, VS2010, VS2012, Office2016)
  • Right-to-left support

Serialization and State Persistence

📄 Read: references/serialization.md

  • Auto serialization with PersistState property
  • SaveDockState and LoadDockState functions
  • Serialize to XML file
  • Serialize to binary file
  • Serialize to memory stream for database storage
  • Serialize to isolated storage
  • Serialize specific controls only
  • Restore to designer initial state

Docking Events

📄 Read: references/docking-events.md

  • DockControlActivated and DockControlDeactivated
  • DockStateChanged and DockStateChanging
  • AutoHideAnimationStart and AutoHideAnimationStop
  • DragAllow, DragFeedbackStart, DragFeedbackStop
  • DockContextMenu and AutoHideTabContextMenu
  • ControlMaximizing, Maximized, Restored, Minimized
  • DockVisibilityChanged and DockVisibilityChanging
  • NewDockStateBeginLoad and NewDockStateEndLoad
  • PreviewDockHints for restricting dock sides
  • TabGroupCreating and TabGroupCreated
  • TransferredToManager and TransferringFromManager

Advanced Features

📄 Read: references/advanced-features.md

  • Nested docking managers (child manager within parent)
  • Linked managers (drag between managers)
  • Dock ability restrictions (SetDockAbility, SetOuterDockAbility)
  • Size constraints (minimum size, freeze resizing)
  • Prevent closing and docking operations
  • Context menu customization (add/remove items)
  • Splitter width and color customization
  • Design-time docking features
  • Localization support

Quick Start Example

Basic Docking Setup

using Syncfusion.Windows.Forms.Tools;

public partial class Form1 : Form
{
    private DockingManager dockingManager1;
    private Panel solutionExplorer;
    private Panel toolbox;
    private Panel properties;
    private Panel output;

    public Form1()
    {
        InitializeComponent();

        // Create DockingManager
        this.dockingManager1 = new DockingManager(this.components);
        this.dockingManager1.HostControl = this;

        // Create dock panels
        this.solutionExplorer = new Panel();
        this.toolbox = new Panel();
        this.properties = new Panel();
        this.output = new Panel();

        // Add panels to form
        this.Controls.AddRange(new Control[] {
            solutionExplorer, toolbox, properties, output
        });

        // Enable docking for all panels
        this.dockingManager1.SetEnableDocking(solutionExplorer, true);
        this.dockingManager1.SetEnableDocking(toolbox, true);
        this.dockingManager1.SetEnableDocking(properties, true);
        this.dockingManager1.SetEnableDocking(output, true);

        // Set dock labels
        this.dockingManager1.SetDockLabel(solutionExplorer, "Solution Explorer");
        this.dockingManager1.SetDockLabel(toolbox, "Toolbox");
        this.dockingManager1.SetDockLabel(properties, "Properties");
        this.dockingManager1.SetDockLabel(output, "Output");

        // Arrange dock positions
        this.dockingManager1.DockControl(solutionExplorer, this, DockingStyle.Right, 250);
        this.dockingManager1.DockControl(toolbox, this, DockingStyle.Left, 200);
        this.dockingManager1.DockControl(properties, solutionExplorer, DockingStyle.Tabbed, 200);
        this.dockingManager1.DockControl(output, this, DockingStyle.Bottom, 150);

        // Apply visual style
        this.dockingManager1.VisualStyle = VisualStyle.Office2016Colorful;
    }
}

Common Patterns

Creating Document Windows (TDI)

// Enable document mode
this.dockingManager1.EnableDocumentMode = true;

// Add document tabs in NewDockStateEndLoad event
this.dockingManager1.NewDockStateEndLoad += (s, e) =>
{
    this.dockingManager1.DockAsDocument(document1);
    this.dockingManager1.DockAsDocument(document2);
};

// Set window mode (Tool allows dock/float, Document allows float only)
this.dockingManager1.SetWindowMode(document1, WindowMode.Document);

Changing Dock States Programmatically

// Dock a control to specific side
this.dockingManager1.DockControl(panel1, this, DockingStyle.Left, 200);

// Float a control at specific location
Rectangle bounds = new Rectangle(100, 100, 300, 400);
this.dockingManager1.FloatControl(panel1, bounds);

// Auto-hide a control
this.dockingManager1.SetAutoHideMode(panel1, true);

// Tab control with another
this.dockingManager1.DockControl(panel2, panel1, DockingStyle.Tabbed, 200);

Customizing Caption Buttons

// Hide close button for specific control
this.dockingManager1.SetCloseButtonVisibility(panel1, false);

// Hide pin (auto-hide) button
this.dockingManager1.SetAutoHideButtonVisibility(panel1, false);

// Add custom caption button
CaptionButton customBtn = new CaptionButton();
customBtn.Name = "CustomButton";
customBtn.ImageIndex = 3; // From ImageList
customBtn.Type = CaptionButtonType.Custom;
this.dockingManager1.CaptionButtons.Add(customBtn);

// Customize button colors
this.dockingManager1.ActiveCaptionButtonForeColor = Color.Red;
this.dockingManager1.InActiveCaptionButtonForeColor = Color.Gray;

Serialization (Save/Load Layout)

using Syncfusion.Runtime.Serialization;

// Enable auto-save on close
this.dockingManager1.PersistState = true;

// Save to XML file manually
AppStateSerializer serializer = new AppStateSerializer(
    SerializeMode.XMLFile, "DockLayout");
this.dockingManager1.SaveDockState(serializer);
serializer.PersistNow();

// Load from XML file
AppStateSerializer serializer = new AppStateSerializer(
    SerializeMode.XMLFile, "DockLayout");
this.dockingManager1.LoadDockState(serializer);

// Save to memory stream (for database)
MemoryStream ms = new MemoryStream();
AppStateSerializer serializer = new AppStateSerializer(
    SerializeMode.BinaryFmtStream, ms);
this.dockingManager1.SaveDockState(serializer);
serializer.PersistNow();
// Store ms.ToArray() in database

Handling Dock Events

// Track dock state changes
this.dockingManager1.DockStateChanged += (s, e) =>
{
    foreach (Control ctrl in e.Controls)
    {
        Console.WriteLine($"{ctrl.Name} state changed");
    }
};

// Prevent specific dock operations
this.dockingManager1.DockStateChanging += (s, e) =>
{
    if (e.NewState == DockState.Float && e.Controls[0] == panel1)
    {
        e.Cancel = true; // Prevent panel1 from floating
    }
};

// Handle control activation
this.dockingManager1.DockControlActivated += (s, e) =>
{
    Console.WriteLine($"{e.Control.Name} activated");
};

// Restrict dock sides dynamically
this.dockingManager1.PreviewDockHints += (s, e) =>
{
    if (e.DraggingTarget == panel2)
    {
        // Only allow right docking on panel2
        e.DockAbility = DockAbility.Right;
    }
};

Restricting Dock Abilities

// Restrict where control can dock (inner docking)
this.dockingManager1.SetDockAbility(panel1, DockAbility.Top | DockAbility.Bottom);

// Restrict where control can dock in client area (outer docking)
this.dockingManager1.SetOuterDockAbility(panel1,
    DockAbility.Left | DockAbility.Right);

// Make control float-only (cannot re-dock)
this.dockingManager1.SetFloatOnly(panel1, true);

// Disable floating for specific control
this.dockingManager1.SetAllowFloating(panel1, false);

Customizing Appearance

// Set visual style
this.dockingManager1.VisualStyle = VisualStyle.Office2016Colorful;

// Customize active caption colors
this.dockingManager1.ActiveCaptionBackground = new BrushInfo(
    GradientStyle.Horizontal, Color.DarkBlue, Color.LightBlue);
this.dockingManager1.ActiveCaptionForeGround = Color.White;

// Customize dock tab colors
this.dockingManager1.DockTabBackColor = Color.LightGray;
this.dockingManager1.ActiveDockTabBackColor = Color.White;
this.dockingManager1.DockTabForeColor = Color.Black;

// Customize document tab colors
this.dockingManager1.DocumentWindowSettings.TabBackColor = Color.SteelBlue;
this.dockingManager1.DocumentWindowSettings.ActiveTabBackColor = Color.Green;
this.dockingManager1.DocumentWindowSettings.TabHeight = 38;

// Set drag provider style
this.dockingManager1.DragProviderStyle = DragProviderStyle.VS2012;

Key Properties and Methods

Essential Properties

  • HostControl: Gets/sets the parent control hosting the docking layout
  • EnableDocumentMode: Enable TDI (Tabbed Document Interface) mode
  • PersistState: Enable automatic save/load of dock state
  • VisualStyle: Set appearance theme (Metro, Office2016, VS2010, etc.)
  • DragProviderStyle: Set drag hint style (VS2005, VS2008, VS2010, VS2012)
  • AutoHideEnabled: Enable/disable auto-hide (pin) functionality
  • AllowTabsMoving: Enable tab reordering by drag-and-drop
  • ShowCaption: Show/hide caption bar for all dock windows
  • CaptionButtons: Collection of caption buttons (Close, Pin, Menu, etc.)

Essential Methods

Adding Dock Children:

  • SetEnableDocking(Control, bool): Enable docking for a control
  • SetDockLabel(Control, string): Set caption label text
  • SetDockIcon(Control, Icon): Set caption icon

Changing Dock States:

  • DockControl(Control, Control, DockingStyle, int): Dock control at specific side
  • FloatControl(Control, Rectangle): Float control at location
  • SetAutoHideMode(Control, bool): Set auto-hide state
  • SetAsMDIChild(Control, bool): Convert to MDI child window
  • DockAsDocument(Control): Add as TDI document tab

State Management:

  • GetDockStyle(Control): Get current dock style
  • IsFloating(Control): Check if control is floating
  • GetAutoHideMode(Control): Check if control is auto-hidden
  • IsMDIMode(Control): Check if control is MDI child
  • IsTabbed(Control): Check if control is tabbed

Serialization:

  • SaveDockState(): Save to isolated storage
  • SaveDockState(AppStateSerializer): Save to file/stream
  • LoadDockState(): Load from isolated storage
  • LoadDockState(AppStateSerializer): Load from file/stream

Caption Buttons:

  • SetCloseButtonVisibility(Control, bool): Show/hide close button
  • SetAutoHideButtonVisibility(Control, bool): Show/hide pin button
  • SetMenuButtonVisibility(Control, bool): Show/hide menu button

Restrictions:

  • SetDockAbility(Control, DockAbility): Restrict inner docking sides
  • SetOuterDockAbility(Control, DockAbility): Restrict outer docking sides
  • SetFloatOnly(Control, bool): Make control float-only
  • SetAllowFloating(Control, bool): Enable/disable floating

Common Use Cases

1. Visual Studio-Style IDE Layout

Create solution explorer, toolbox, properties, and output windows with docking, floating, and auto-hide capabilities.

2. Document Editing Application

Implement tabbed document interface (TDI) for multiple document editing with tool windows around the edges.

3. Dashboard Layout Manager

Build customizable dashboard with dockable widget panels that users can arrange and persist.

4. Multi-Panel Data Viewer

Display multiple data grids, charts, and details panels with flexible docking and tabbing.

5. Application with Persistent Layout

Save and restore user's preferred window arrangement across sessions using serialization.

6. MDI Application Modernization

Convert traditional MDI applications to modern docking interface with floating and tabbed documents.

7. Custom Development Tools

Build code editors, debuggers, or design tools with dockable windows similar to Visual Studio.

平台分布

Codex

40.04%
按下载量换算109

Claude

28.39%
按下载量换算77

Cursor

19.58%
按下载量换算53

Gemini CLI

9.73%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills