Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winforms-gradientpanelext(同步融合 winform 梯度面板 ext)

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

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

总安装 734周安装 30GitHub Stars 1下载 238核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

扩展版渐变面板控件,提供更多自定义选项和交互功能支持。适用于复杂布局中需要动态调整样式或响应式设计的 WinForms 应用。可通过技能机制无缝接入 AI 助手,快速生成带样式的容器结构代码。部署前务必核实许可证条款,部分商业功能可能需要额外授权许可。推荐在非关键路径先行试用,观察内存占用与性能影响后再全面推广。

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

上手步骤

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

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

syncfusion-winforms-gradientpanelext 支持哪些 AI 工具?

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

syncfusion-winforms-gradientpanelext 需要什么权限?

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

syncfusion-winforms-gradientpanelext 是免费的吗?

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

syncfusion-winforms-gradientpanelext 用的人多吗?

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

syncfusion-winforms-gradientpanelext 安全吗?

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

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

值得选的地方

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

同步融合 winform 梯度面板 ext · 本页

7341只读未明确通过

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

SKILL.md 原文

Implementing GradientPanelExt

An enhanced panel control for Windows Forms that provides gradient backgrounds, rounded corners, border primitives, and collapse/expand functionality for creating sophisticated container panels.

When to Use This Skill

Use this skill when you need to:

  • Gradient Container Panels: Create panels with gradient backgrounds that contain other controls
  • Rounded Corner Panels: Design panels with customizable corner radius for modern UI
  • Border Primitives: Add text, images, buttons, or controls to panel borders (unique feature)
  • Collapsible Sections: Implement expandable/collapsible panel sections with animation
  • Styled Containers: Build visually appealing container panels with custom backgrounds
  • Login/Dialog Panels: Create attractive login forms or dialog boxes with gradients
  • Dashboard Sections: Design dashboard panels with titles and controls in borders

Component Overview

The GradientPanelExt is an enhanced version of the standard Panel control that provides:

  • Multiple gradient styles (Horizontal, Vertical, Diagonal, PathRectangle, PathEllipse)
  • Rounded corners with configurable radius
  • Primitives system - host text, images, collapse controls, and.NET controls in panel borders
  • Pattern and solid background options
  • Collapse/expand animation support
  • Multi-color gradient support
  • Acts as container for other WinForms controls

Key Capabilities:

  • Gradient background using BrushInfo class
  • CornerRadius for rounded rectangle appearance
  • Primitives collection (CollapsePrimitive, ImagePrimitive, TextPrimitive, HostPrimitive)
  • BorderGap for spacing control
  • Animated collapse/expand with speed and delay settings
  • Background image support
  • Hosts child controls like standard Panel

Unique Feature - Primitives: GradientPanelExt's most powerful feature is the ability to add "primitives" to panel borders - text labels, images, collapse buttons, or even entire.NET controls positioned in the Top, Bottom, Left, or Right borders.

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When to read: Starting new implementation, setting up dependencies, first-time usage

Topics covered:

  • Assembly deployment (Syncfusion.Shared.Base)
  • NuGet package installation
  • Adding via Visual Studio designer (toolbox drag-drop)
  • Adding via code (manual instantiation)
  • Basic panel initialization and configuration
  • Adding child controls to the panel
  • PrimitiveCollection Editor introduction
  • Simple gradient panel examples
  • Namespace requirements (Syncfusion.Windows.Forms.Tools)

Background Styling

📄 Read: references/background-styling.md

When to read: Configuring gradients, setting background colors, customizing panel appearance

Topics covered:

  • BackgroundColor property and BrushInfo class
  • Background styles (Solid, Pattern, Gradient, None)
  • Gradient styles (Horizontal, Vertical, ForwardDiagonal, BackwardDiagonal, PathRectangle, PathEllipse)
  • BackColor and ForeColor properties
  • Multi-color gradients using GradientColors array
  • Pattern backgrounds with PatternStyle
  • BackgroundImage and BackgroundImageLayout
  • Creating complex color transitions
  • Complete styling examples with code

Border and Corner Settings

📄 Read: references/border-corner-settings.md

When to read: Customizing corners, adjusting border appearance, creating rounded panels

Topics covered:

  • CornerRadius property for rounded corners
  • Removing rounded corners (CornerRadius = 0)
  • BorderGap property for margin spacing
  • Sharp vs rounded corner design
  • Coordinating corners with gradients
  • Complete examples with different radius values
  • Best practices for modern vs classic design

Primitives

📄 Read: references/primitives.md

When to read: Adding border elements, implementing collapse functionality, hosting controls in borders

Topics covered:

  • Primitives overview and PrimitiveCollection Editor
  • CollapsePrimitive (expand/collapse with images)
  • ImagePrimitive (images in borders)
  • TextPrimitive (text labels in borders)
  • HostPrimitive (hosting.NET controls in borders)
  • Alignment property (Top, Bottom, Left, Right)
  • Position property for pixel placement
  • Size property for primitive dimensions
  • Complete examples with all primitive types
  • Login panel with primitives example

Collapse and Expand Animation

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

When to read: Implementing animated collapse, configuring animation behavior

Topics covered:

  • Animated property (enable/disable animation)
  • AnimationDelay property for timing
  • AnimationSpeed property for speed control
  • Integration with CollapsePrimitive
  • Smooth vs instant collapse behavior
  • Complete animation examples
  • Performance considerations

Scroll Settings and Events

📄 Read: references/scroll-settings-events.md

When to read: Handling scrollable content, responding to events, custom event handling

Topics covered:

  • AutoScroll property for scrollable panels
  • Scroll bar configuration
  • GradientPanelExt-specific events
  • Collapse/expand event handling
  • Primitive click events
  • Paint events for custom drawing
  • Complete event handler examples
  • Memory management and cleanup

Quick Start

Basic Gradient Panel Setup

using Syncfusion.Windows.Forms.Tools;
using Syncfusion.Drawing;

// Create GradientPanelExt
GradientPanelExt gradientPanel = new GradientPanelExt();
gradientPanel.Size = new Size(400, 200);
gradientPanel.Location = new Point(20, 20);

// Set gradient background (horizontal blue gradient)
gradientPanel.BackgroundColor = new BrushInfo(
    GradientStyle.Horizontal,
    Color.DarkBlue,
    Color.LightSkyBlue
);

// Rounded corners
gradientPanel.CornerRadius = 10;

// Add child controls
Label label = new Label
{
    Text = "Welcome",
    ForeColor = Color.White,
    BackColor = Color.Transparent,
    Location = new Point(20, 20),
    AutoSize = true
};
gradientPanel.Controls.Add(label);

// Add to form
this.Controls.Add(gradientPanel);

With Primitives in Borders

// Add title text primitive at top border
TextPrimitive titlePrimitive = new TextPrimitive
{
    Text = "User Login",
    Alignment = Syncfusion.Windows.Forms.Tools.Alignment.Top,
    TextColor = Color.White,
    TextFont = new Font("Arial", 12, FontStyle.Bold),
    Size = new Size(100, 25),
    BackColor = Color.Transparent
};

// Add button primitives at bottom border
TextPrimitive okButton = new TextPrimitive
{
    Text = "OK",
    Alignment = Syncfusion.Windows.Forms.Tools.Alignment.Bottom,
    Position = 100,
    Size = new Size(60, 25),
    BackColor = Color.White,
    TextColor = Color.Black
};

TextPrimitive cancelButton = new TextPrimitive
{
    Text = "Cancel",
    Alignment = Syncfusion.Windows.Forms.Tools.Alignment.Bottom,
    Position = 180,
    Size = new Size(60, 25),
    BackColor = Color.White,
    TextColor = Color.Black
};

// Add primitives to panel
gradientPanel.Primitives.AddRange(new Primitive[] {
    titlePrimitive,
    okButton,
    cancelButton
});

Common Patterns

Pattern 1: Login Panel with Gradient and Primitives

// Create login panel
GradientPanelExt loginPanel = new GradientPanelExt
{
    Size = new Size(350, 180),
    Location = new Point(50, 50),
    CornerRadius = 12
};

// Dark gradient background
loginPanel.BackgroundColor = new BrushInfo(
    GradientStyle.Horizontal,
    Color.FromArgb(40, 40, 40),
    Color.FromArgb(80, 80, 80)
);

// Title primitive at top
TextPrimitive title = new TextPrimitive
{
    Text = "Login",
    Alignment = Syncfusion.Windows.Forms.Tools.Alignment.Top,
    TextColor = Color.White,
    TextFont = new Font("Segoe UI", 14, FontStyle.Bold),
    Size = new Size(80, 30),
    BackColor = Color.Transparent
};
loginPanel.Primitives.Add(title);

// Add username and password textboxes inside panel
Label lblUsername = new Label
{
    Text = "Username:",
    Location = new Point(30, 40),
    ForeColor = Color.White,
    BackColor = Color.Transparent,
    AutoSize = true
};

TextBox txtUsername = new TextBox
{
    Location = new Point(110, 38),
    Size = new Size(180, 20)
};

loginPanel.Controls.Add(lblUsername);
loginPanel.Controls.Add(txtUsername);

Pattern 2: Collapsible Dashboard Section

// Create collapsible panel
GradientPanelExt dashboardPanel = new GradientPanelExt
{
    Size = new Size(400, 250),
    Location = new Point(20, 20),
    CornerRadius = 8,
    Animated = true,
    AnimationSpeed = 3
};

// Vertical gradient
dashboardPanel.BackgroundColor = new BrushInfo(
    GradientStyle.Vertical,
    Color.WhiteSmoke,
    Color.LightGray
);

// Section title
TextPrimitive sectionTitle = new TextPrimitive
{
    Text = "Sales Statistics",
    Alignment = Syncfusion.Windows.Forms.Tools.Alignment.Top,
    TextColor = Color.DarkBlue,
    TextFont = new Font("Arial", 12, FontStyle.Bold),
    Size = new Size(150, 25)
};

// Collapse primitive
CollapsePrimitive collapseButton = new CollapsePrimitive
{
    Alignment = Syncfusion.Windows.Forms.Tools.Alignment.Top,
    Position = 350,
    Size = new Size(30, 30),
    BackColor = Color.Transparent
};
// Set images in designer or load from resources

dashboardPanel.Primitives.AddRange(new Primitive[] {
    sectionTitle,
    collapseButton
});

Pattern 3: Panel with Image and Host Primitives

// Create styled panel
GradientPanelExt styledPanel = new GradientPanelExt
{
    Size = new Size(450, 300),
    CornerRadius = 10
};

// PathEllipse gradient with multiple colors
styledPanel.BackgroundColor = new BrushInfo(
    GradientStyle.PathEllipse,
    new Color[]
    {
        Color.LightBlue,
        Color.LightCyan,
        Color.PaleTurquoise
    }
);

// Image primitive at top-left
ImagePrimitive logo = new ImagePrimitive
{
    Alignment = Syncfusion.Windows.Forms.Tools.Alignment.Top,
    Position = 10,
    Size = new Size(40, 40)
    // Set Image property from resources
};

// Host a ProgressBar at bottom
ProgressBar progressBar = new ProgressBar
{
    Value = 50,
    Style = ProgressBarStyle.Continuous
};

HostPrimitive progressHost = new HostPrimitive
{
    Alignment = Syncfusion.Windows.Forms.Tools.Alignment.Bottom,
    Position = 100,
    Size = new Size(250, 20),
    HostControl = progressBar,
    BackColor = Color.Transparent
};

styledPanel.Primitives.AddRange(new Primitive[] {
    logo,
    progressHost
});

Key Properties

Background Properties

  • BackgroundColor: Gets/sets background using BrushInfo (style, colors, gradient)
  • BackgroundColor.Style: Brush style (Solid, Pattern, Gradient, None)
  • BackgroundColor.GradientStyle: Gradient direction (Horizontal, Vertical, ForwardDiagonal, BackwardDiagonal, PathRectangle, PathEllipse)
  • BackgroundColor.BackColor: Starting color for gradient
  • BackgroundColor.ForeColor: Ending color for gradient
  • BackgroundColor.PatternStyle: Pattern for Pattern brush style
  • BackgroundColor.GradientColors: Array for multi-color gradients
  • BackgroundImage: Background image for the panel
  • BackgroundImageLayout: Layout style for background image

Border and Corner Properties

  • CornerRadius: Radius for rounded corners (0 = sharp corners)
  • BorderGap: Spacing between border and margins

Primitive Properties

  • Primitives: Collection of primitives (accessed via PrimitiveCollection Editor)
  • Primitive.Alignment: Border position (Top, Bottom, Left, Right)
  • Primitive.Position: Pixel offset along the border
  • Primitive.Size: Width and height of primitive
  • Primitive.BackColor: Background color for primitive

Animation Properties

  • Animated: Enable/disable collapse animation
  • AnimationDelay: Delay in milliseconds for animation
  • AnimationSpeed: Speed factor for animation

Container Properties (Inherited from Panel)

  • Controls: Collection of child controls hosted in the panel
  • AutoScroll: Enable scrollbars for overflow content
  • Padding: Internal padding for child controls

Common Use Cases

Login/Authentication Panels

Create visually appealing login forms with gradient backgrounds, titles in borders, and button primitives.

Dashboard Sections

Build dashboard panels with section titles in top border and collapsible functionality.

Settings Panels

Design settings containers with category titles and organized control groups.

Information Boxes

Create styled information panels with icons in borders and rich content inside.

Wizard Steps

Implement wizard step panels with step numbers or icons in borders.

Grouped Controls

Organize related form controls in visually distinct gradient panels.

Collapsible Sidebars

Create expandable sidebar panels with collapse primitives for space management.

Notes

  • GradientPanelExt derives from Panel, so all standard Panel functionality is available
  • The Primitives feature is unique to GradientPanelExt and extremely powerful
  • Primitives are positioned in borders, not in the main panel area
  • CornerRadius provides rounded corners by default (set to 0 for sharp corners)
  • Child controls are added to the Controls collection like a normal Panel
  • CollapsePrimitive requires collapse and expand images to be set
  • HostPrimitive can host any.NET control, even custom controls
  • Animation properties only affect collapse/expand when CollapsePrimitive is used
  • BackgroundColor and Primitives can use same or coordinated gradients
  • Performance is good for typical usage; avoid excessive primitives

平台分布

Codex

31.85%
按下载量换算76

Claude

29.27%
按下载量换算70

Cursor

19.26%
按下载量换算46

Gemini CLI

9.84%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills