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

syncfusion-winforms-xptaskbar同步融合 winform xptaskbar

Agent Skill

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

总安装

766

周安装

31

GitHub Stars

1

下载量

241
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 安装前需确认权限范围和维护状态,避免触发联网或文件读写操作。
  • syncfusion-winforms-xptaskbar 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Implementing XPTaskBar in Windows Forms

Table of Contents

When to Use This Skill

Use XPTaskBar when you need to:

  • Create expandable task panels - Display command items or features in collapsible grouped boxes
  • Build Windows XP-style menus - Recreate the classic task sidebar UI pattern
  • Organize navigation hierarchically - Group related commands into categorized boxes
  • Implement interactive task lists - Allow users to expand/collapse task categories with animations
  • Add custom animations and events - Control expand/collapse behavior and respond to user interactions

Component Overview

XPTaskBar is a Windows Forms control that displays command items organized within collapsible boxes, mimicking the Windows XP task sidebar. The component hierarchy includes:

  • XPTaskBar - Main container control that can hold multiple boxes
  • XPTaskBarBox - Collapsible section with header and items area
  • XPTaskBarItem - Individual command items displayed within a box

Key Features

  • Hierarchical layout - Organize items into categorized boxes
  • Collapse/expand animation - Smooth transitions with configurable animation speed
  • Multiple layout modes - Vertical (default) or horizontal orientation
  • State persistence - Remember expanded/collapsed state across sessions
  • Rich customization - Control colors, fonts, images, and spacing
  • Event-driven - Handle clicks, animations, and state changes
  • Child control support - Host panels and other controls within boxes

Quick Start Example

using Syncfusion.Windows.Forms.Tools;

// Create XPTaskBar control
XPTaskBar xpTaskBar1 = new XPTaskBar();
xpTaskBar1.Dock = DockStyle.Fill;
this.Controls.Add(xpTaskBar1);

// Create first task box
XPTaskBarBox box1 = new XPTaskBarBox();
box1.Text = "File Operations";
xpTaskBar1.Controls.Add(box1);

// Add items to the box
box1.Items.AddRange(new XPTaskBarItem[] {
    new XPTaskBarItem("New Document", System.Drawing.Color.Empty, -1, "NewDoc"),
    new XPTaskBarItem("Open File", System.Drawing.Color.Empty, -1, "OpenFile"),
    new XPTaskBarItem("Save", System.Drawing.Color.Empty, -1, "Save")
});

// Handle item clicks
box1.ItemClick += (sender, e) => {
    switch (e.XPTaskBarItem.Tag as string) {
        case "NewDoc":
            // Handle new document
            break;
        case "OpenFile":
            // Handle file open
            break;
    }
};

// Create second task box
XPTaskBarBox box2 = new XPTaskBarBox();
box2.Text = "Editing Tools";
xpTaskBar1.Controls.Add(box2);

box2.Items.AddRange(new XPTaskBarItem[] {
    new XPTaskBarItem("Cut", System.Drawing.Color.Empty, -1, "Cut"),
    new XPTaskBarItem("Copy", System.Drawing.Color.Empty, -1, "Copy"),
    new XPTaskBarItem("Paste", System.Drawing.Color.Empty, -1, "Paste")
});

Documentation Navigation Guide

Read the reference documentation in the order that matches your implementation needs:

Getting Started

📄 Read: references/getting-started.md

  • Assembly and package dependencies
  • Adding control via designer or code
  • Basic XPTaskBar, box, and item setup
  • Assembly references required

Building the Structure

📄 Read: references/box-structure.md

  • XPTaskBar box hierarchy and anatomy
  • Header customization (text, font, alignment, direction)
  • Collapse/expand button configuration
  • Integrating child panels and controls

📄 Read: references/items-and-content.md

  • Creating and managing XPTaskBarItems
  • Working with Items collection
  • Item properties and configuration
  • Hosting nested controls with PreferredChildPanelHeight

Layout and Orientation

📄 Read: references/layout-orientation.md

  • Vertical layout mode (default)
  • Horizontal layout mode and column width
  • Switching orientations dynamically
  • Responsive layout behavior

Behavior and Interactivity

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

  • Animation configuration and timing
  • Collapse/expand event handling
  • ItemClick event with Tag-based routing
  • State preservation (AutoPersistStates)
  • Drag-and-drop support
  • Event examples and patterns

Appearance and Customization

📄 Read: references/appearance-customization.md

  • Header color and forecolor customization
  • Font styling for headers
  • Brush customization via ProvideHeaderBackgroundBrush and ProvideItemsBackgroundBrush events
  • Adding images to headers and items
  • Tooltip configuration and display
  • Custom background drawing techniques

Spacing and Scrolling

📄 Read: references/padding-spacing-scrolling.md

  • XPTaskBar interior padding (DockPadding, HorizontalPadding, VerticalPadding)
  • Box header padding (PADX, PADY)
  • Auto-scroll behavior
  • Scroll margin and minimum size configuration

Common Patterns

Pattern 1: Multi-Box Task Menu

Create a sidebar with multiple collapsible task categories:

var taskBar = new XPTaskBar { VerticalLayout = true };

// Create boxes for different task categories
foreach (var category in new[] { "File", "Edit", "View", "Help" }) {
    var box = new XPTaskBarBox { Text = category };
    taskBar.Controls.Add(box);
    // Add items to box
}

Pattern 2: Item Click Routing

Use the Tag property to implement event routing:

box.ItemClick += (sender, e) => {
    var command = e.XPTaskBarItem.Tag as string;
    ExecuteCommand(command);
};

Pattern 3: Stateful Persistence

Remember user preferences across sessions:

xpTaskBar1.AutoPersistStates = true;

Pattern 4: Animated State Changes

Control animation behavior during expand/collapse:

box.AnimationDelay = 50;           // Milliseconds between frames
box.AnimationPositionsCount = 15;  // Number of animation steps
box.UseAdditionalAnimation = true; // Animate when adding/removing items

Key Configuration Properties

XPTaskBar Level

PropertyTypePurpose
VerticalLayoutboolSet true for vertical mode (default), false for horizontal
ColWidthOnHorizontalAlignmentintColumn width in horizontal layout mode
HorizontalPaddingintInterior horizontal spacing
VerticalPaddingintInterior vertical spacing
AutoScrollboolEnable automatic scrollbars when needed
AutoPersistStatesboolPersist expanded/collapsed state between sessions
AllowDropboolEnable drag-and-drop support
MinimumSizeSizeMinimum control dimensions

XPTaskBarBox Level

PropertyTypePurpose
TextstringBox header display text
CollapsedboolSet true to collapse, false to expand
ShowCollapseButtonboolShow/hide collapse button
ToggleByButtonboolAllow button to toggle state
HeaderBackColorColorHeader background color
HeaderForeColorColorHeader text color
HeaderFontFontHeader text font
HeaderTextAlignStringAlignmentHeader text alignment
AnimationDelayintDelay in ms between animation frames
AnimationPositionsCountintNumber of animation steps
PreferredChildPanelHeightintHeight reserved for child controls
ShowToolTipboolEnable tooltips for items
PADXintHorizontal header padding
PADYintVertical header padding

XPTaskBarItem Level

PropertyTypePurpose
TextstringItem display text
ImageIndexintIndex in parent box's ImageList
ToolTipTextstringTooltip text on hover
TagobjectCustom data for event routing

Next Step: Start with references/getting-started.md to set up your first XPTaskBar control.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.68%
按下载量换算93

Claude

26.88%
按下载量换算65

Cursor

20.69%
按下载量换算50

Gemini CLI

10.24%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills