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

syncfusion-winforms-splitcontainer同步融合 winforms splitcontainer

Agent Skill

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

总安装

652

周安装

28

GitHub Stars

公开资料未说明

下载量

228
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

Syncfusion WinForms 分割容器控件,将窗体划分为两个可调整大小的区域。

  • 适用于代码编辑器、属性面板、预览窗口等需要并列布局的应用。
  • 支持固定比例、最小宽度约束、分隔条样式及面板隐藏/显示切换。
  • 使用前请核实 Syncfusion 是否提供此容器类型,部分功能依赖 DockPanel Suite 集成。
  • 在多文档界面中应注意各子面板的状态保存与恢复,避免布局错乱或数据丢失。

SKILL.md

Implementing SplitContainerAdv in Windows Forms

SplitContainerAdv is a container control that enables developers to create resizable dual-panel layouts with a movable splitter bar. It's used when you need flexible panel division in forms.

When to Use This Skill

Use this skill when you need to:

  • Create a resizable split-panel layout in a Windows Forms application
  • Add controls to separate panels within a container
  • Allow users to resize panels by dragging the splitter
  • Configure horizontal or vertical panel orientation
  • Customize splitter appearance and behavior
  • Collapse or expand panels dynamically
  • Handle panel resize events

Component Overview

SplitContainerAdv provides:

  • Two resizable panels (Panel1 and Panel2) separated by a splitter
  • Support for horizontal and vertical orientation
  • Panel collapsing/expanding capabilities
  • Rich customization of splitter appearance
  • Event handling for splitter movements
  • Nested container support (SplitContainerAdv within SplitContainerAdv)
  • Visual styling options

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly dependencies and NuGet setup
  • Creating a new Windows Forms project
  • Adding SplitContainerAdv via designer
  • Adding SplitContainerAdv programmatically
  • Adding child controls to panels
  • Setting splitter orientation

Panel Configuration

📄 Read: references/panel-configuration.md

  • Panel orientation (horizontal vs vertical)
  • Fixed and resizable panels
  • Minimum panel size constraints
  • Collapsing and expanding panels at runtime
  • Panel-specific properties and behavior

Splitter Customization

📄 Read: references/splitter-customization.md

  • Splitter distance and positioning
  • Fixed splitter configuration
  • Splitter width and increment settings
  • Thumbnail arrow and grip appearance
  • Hover state customization
  • Runtime appearance changes

Appearance and Styling

📄 Read: references/appearance-styling.md

  • Background color configuration
  • Foreground properties (fonts, colors)
  • Border styling options
  • Panel-specific appearance overrides
  • Gradient and brush customization

Events and Interactions

📄 Read: references/events-handling.md

  • SplitterMoved event handling
  • SplitterMoving event handling
  • Common event patterns
  • Event args and data access
  • Preventing splitter movement

Quick Start Example

Basic implementation of SplitContainerAdv:

// Create and configure SplitContainerAdv
SplitContainerAdv splitContainer = new SplitContainerAdv();
splitContainer.Dock = DockStyle.Fill;
splitContainer.Orientation = Orientation.Horizontal;
splitContainer.SplitterDistance = 150;

// Add controls to panels
Label label1 = new Label { Text = "Panel 1", Dock = DockStyle.Fill };
Label label2 = new Label { Text = "Panel 2", Dock = DockStyle.Fill };

splitContainer.Panel1.Controls.Add(label1);
splitContainer.Panel2.Controls.Add(label2);

// Add to form
this.Controls.Add(splitContainer);
' Create and configure SplitContainerAdv
Dim splitContainer As New SplitContainerAdv()
splitContainer.Dock = DockStyle.Fill
splitContainer.Orientation = Orientation.Horizontal
splitContainer.SplitterDistance = 150

' Add controls to panels
Dim label1 As New Label With {.Text = "Panel 1", .Dock = DockStyle.Fill}
Dim label2 As New Label With {.Text = "Panel 2", .Dock = DockStyle.Fill}

splitContainer.Panel1.Controls.Add(label1)
splitContainer.Panel2.Controls.Add(label2)

' Add to form
Me.Controls.Add(splitContainer)

Common Patterns

Pattern 1: Fixed Left Panel, Resizable Right Panel

splitContainer.Orientation = Orientation.Vertical;
splitContainer.FixedPanel = FixedPanel.Panel1;
splitContainer.Panel1MinSize = 200;
splitContainer.SplitterDistance = 200;

Pattern 2: Collapsible Panels

splitContainer.PanelToBeCollapsed = CollapsedPanel.Panel2;
splitContainer.TogglePanelOn = TogglePanelOn.DoubleClick;

Pattern 3: Vertical Layout with Equal Sizing

splitContainer.Orientation = Orientation.Vertical;
splitContainer.SplitterDistance = splitContainer.Height / 2;
splitContainer.Panel1MinSize = 50;
splitContainer.Panel2MinSize = 50;

Key Properties

PropertyTypePurpose
OrientationOrientationSets horizontal or vertical split (Default: Horizontal)
SplitterDistanceintDistance from edge to splitter bar in pixels
FixedPanelFixedPanelWhich panel remains fixed during resizing (Panel1, Panel2, or None)
Panel1CollapsedboolWhether Panel1 is hidden
Panel2CollapsedboolWhether Panel2 is hidden
IsSplitterFixedboolWhether splitter can be moved
SplitterWidthintWidth of the splitter bar in pixels
Panel1MinSizeintMinimum size for Panel1 (default: 25)
Panel2MinSizeintMinimum size for Panel2 (default: 25)
ExpandFillBrushInfoColor of expand arrow fill
HotGripDarkBrushInfoGrip color on hover

Quick Tips

  • Default Orientation: Use Orientation.Horizontal for left-right split, Orientation.Vertical for top-bottom
  • Minimum Sizing: Set Panel1MinSize and Panel2MinSize to prevent panels from collapsing too small
  • Fixed Panels: Use FixedPanel to prevent resizing one side, useful for toolbars or sidebars
  • Panel Collapse: Double-click the splitter to collapse when TogglePanelOn = TogglePanelOn.DoubleClick
  • Nested Containers: Add a SplitContainerAdv to a panel of another SplitContainerAdv for complex layouts
  • Docking: Use Dock = DockStyle.Fill to make the control fill its parent container

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.87%
按下载量换算82

Claude

30.57%
按下载量换算70

Cursor

17.02%
按下载量换算39

Gemini CLI

8.68%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills