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

syncfusion-wpf-gridsplitter同步融合 wpf gridsplitter

Agent Skill

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

总安装

1,053

周安装

43

GitHub Stars

2

下载量

337
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-gridsplitter

简介

同步融合 WPF 网格分割器组件,用于调整相邻面板区域宽度的拖拽控制条。

  • 适用于多窗格布局、属性面板等需要动态划分空间的 WPF 界面设计。
  • 通过 GitHub 安装技能模块,使用 npx skills add 命令完成本地集成与调用。
  • 需验证宿主是否支持鼠标捕获及分割位置记忆存储以防止布局错乱。
  • 建议查阅官方示例了解最小宽度约束、对称分割、响应式适配等高级布局策略。

SKILL.md

Implementing Syncfusion WPF GridSplitter

This skill guides you in implementing the Syncfusion® WPF GridSplitter (SfGridSplitter) control, a container control that splits available space horizontally or vertically with a movable splitter to dynamically resize visual elements.

When to Use This Skill

Use this skill when you need to:

  • Create resizable layouts with movable splitters between panels
  • Implement split panels in WPF applications (horizontal or vertical)
  • Add collapse/expand functionality for grid sections
  • Enable dynamic resizing of grid rows or columns with user interaction
  • Configure drag behavior for splitter movement and preview
  • Customize splitter appearance with templates and styles
  • Support keyboard-based resizing with increment controls
  • Create multi-pane layouts with independent resizable sections

This skill covers complete GridSplitter implementation from basic setup to advanced customization.

Component Overview

SfGridSplitter is a layout control that divides available space in a Grid with an interactive splitter bar. Key capabilities:

  • Dynamic Resizing: Movable splitter redistributes space between grid rows/columns on demand
  • Orientation Support: Horizontal or vertical splitting based on grid placement
  • Collapse/Expand: Built-in buttons to hide/show panels interactively
  • Preview Mode: Optional preview of resize operation before applying
  • Customizable Templates: Full control over gripper, collapse buttons, and preview appearance
  • Keyboard Support: Resize using keyboard with configurable increment values
  • Merged Cell Support: Works with merged grid rows and columns

Typical Use Cases:

  • Master-detail views with resizable sections
  • Code editor with collapsible side panels
  • Data explorer with adjustable tree/grid split
  • Multi-document interfaces with resizable panes

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Learn the fundamentals of adding and configuring SfGridSplitter:

  • Assembly deployment and NuGet package installation
  • Adding control in XAML with namespace imports
  • Adding control programmatically in C#
  • Basic grid splitter setup in row/column layouts
  • Initial configuration and alignment requirements

Use this reference when: Setting up GridSplitter for the first time, adding required assemblies, or creating basic split layouts.

Resize and Layout Operations

📄 Read: references/resize-and-layout.md

Master grid resizing capabilities and layout configuration:

  • Resizing grid rows with horizontal splitters
  • Resizing grid columns with vertical splitters
  • ResizeBehavior property (PreviousAndNext, PreviousAndCurrent, etc.)
  • DragIncrement and KeyboardIncrement for pixel-precise resizing
  • MoveSplitter() method for programmatic resizing
  • Working with merged columns and rows
  • Orientation handling and alignment strategies

Use this reference when: Configuring resize behavior, implementing programmatic resizing, working with merged cells, or fine-tuning drag/keyboard increments.

Collapse and Expand Features

📄 Read: references/collapse-expand-features.md

Implement interactive collapse/expand functionality:

  • EnableCollapseButton property to show/hide buttons
  • Collapsing and expanding grid rows and columns
  • Custom collapse button templates (Up, Down, Left, Right)
  • UpButtonTemplate and DownButtonTemplate for horizontal splitters
  • LeftButtonTemplate and RightButtonTemplate for vertical splitters
  • User interaction patterns for panel visibility

Use this reference when: Adding collapse/expand buttons, customizing button appearance, or implementing panel hide/show features.

Customization and Styling

📄 Read: references/customization-styling.md

Customize visual appearance and behavior:

  • Background property for splitter color
  • HorizontalGripperTemplate for horizontal splitter gripper
  • VerticalGripperTemplate for vertical splitter gripper
  • PreviewStyle for deferred resizing preview
  • ShowsPreview property for preview mode
  • Custom drag preview UI with templates
  • Advanced styling scenarios and theme integration

Use this reference when: Customizing splitter appearance, creating custom gripper designs, implementing preview styles, or matching application themes.

Quick Start

For horizontal splitters: Create Grid with RowDefinitions (*, Auto, *), place SfGridSplitter in middle row with Height="5" and ResizeBehavior="PreviousAndNext". For vertical splitters: Create ColumnDefinitions (*, Auto, *) and set Width instead. See Getting Started for complete examples.

Common Patterns

Key patterns include collapse buttons (EnableCollapseButton), preview mode (ShowsPreview), programmatic resizing (MoveSplitter), multi-splitter layouts, and constrained resizing with DragIncrement/KeyboardIncrement. See the reference files for complete implementation examples and when-to-use guidance.

Key Properties

PropertyTypePurposeWhen to Use
ResizeBehaviorResizeBehaviorControls which rows/columns are affected by resizeSet to PreviousAndNext (most common), PreviousAndCurrent, or CurrentAndNext based on which panels should resize
EnableCollapseButtonboolShows/hides collapse/expand buttonsEnable when users need to temporarily hide panels
ShowsPreviewboolShows resize preview before applyingEnable for heavy layouts or when users need visual confirmation
DragIncrementdoublePixel interval for mouse-based resizingSet to constrain resize to specific increments (default: 1)
KeyboardIncrementdoublePixel interval for keyboard-based resizingSet for arrow key resize granularity (default: 20)
HorizontalAlignmentHorizontalAlignmentAlignment for horizontal splittersUse Stretch for row resizing
VerticalAlignmentVerticalAlignmentAlignment for vertical splittersUse Stretch for column resizing
BackgroundBrushSplitter bar colorCustomize to match application theme
HeightdoubleHeight of horizontal splitter barSet explicit height (e.g., 5-10 pixels) for horizontal splitters
WidthdoubleWidth of vertical splitter barSet explicit width (e.g., 5-10 pixels) for vertical splitters

Common Use Cases

  • Code Editor: IDE-style layouts with collapsible side panels using EnableCollapseButton and custom button templates.
  • Data Explorer: Database tools with adjustable query/result views using ShowsPreview and ResizeBehavior.
  • Master-Detail: List-detail interfaces with variable sizing using basic resize and DragIncrement.
  • Multi-Document Interface: Multiple resizable document panes using multiple splitters and merged cell support.
  • Dashboard Widgets: Analytics dashboards with adjustable widget containers using DragIncrement and preset configurations.

Troubleshooting Quick Reference

Splitter not resizing panels?

  • Verify Grid.Row/Grid.Column placement
  • Check HorizontalAlignment/VerticalAlignment settings
  • Ensure ResizeBehavior is set appropriately

Collapse buttons not showing?

  • Set EnableCollapseButton="True"
  • Verify splitter has sufficient size for buttons

Preview not displaying?

  • Set ShowsPreview="True"
  • Check PreviewStyle if using custom styles

Jerky resizing?

  • Adjust DragIncrement for smoother movement
  • Consider ShowsPreview for heavy layouts

Navigate to the detailed reference files above for comprehensive implementation guidance and advanced scenarios.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.93%
按下载量换算114

Claude

27.52%
按下载量换算93

Cursor

19.41%
按下载量换算65

Gemini CLI

9.38%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills