Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winforms-color-ui-control(Synfusion Winforms 颜色 ui 控件)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

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

总安装 727周安装 30GitHub Stars 公开资料未说明下载 238核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

用于辅助界面设计、视觉规范和布局优化,提升组件层级与交互体验。适合生成 UI 方案、检查视觉一致性及改进页面结构。使用时需结合品牌规范与设计系统,避免仅堆砌装饰元素。涉及真实页面改动时,应通过截图或预览工具验证文本溢出与对齐效果。适用于前端开发与设计协作场景。

syncfusion-winforms-color-ui-control 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-winforms-color-ui-control

上手步骤

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-color-ui-control 怎么安装?

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

syncfusion-winforms-color-ui-control 支持哪些 AI 工具?

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

syncfusion-winforms-color-ui-control 需要什么权限?

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

syncfusion-winforms-color-ui-control 是免费的吗?

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

syncfusion-winforms-color-ui-control 用的人多吗?

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

syncfusion-winforms-color-ui-control 安全吗?

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

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

值得选的地方

  • 同时适配 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-color-ui-control

Synfusion Winforms 颜色 ui 控件 · 本页

727—只读未明确通过

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

SKILL.md 原文

Implementing ColorUIControl

When to Use This Skill

Use this skill when you need to implement color selection functionality in Windows Forms applications using Syncfusion's ColorUIControl. This skill is relevant when users:

  • Need to add color picker UI to Windows Forms applications
  • Want to provide Visual Studio-style color selection interface
  • Require inline color selection controls (not just dialogs)
  • Need customizable color palettes with predefined color groups
  • Want to integrate color pickers into popup menus or dropdowns
  • Need to implement color selection with System, Standard, Custom, or User-defined colors
  • Are working with.NET Framework Windows Forms applications
  • Want to provide ColorPickerButton dropdown functionality

The ColorUIControl provides a palette-style interface similar to Visual Studio's color picker, offering four color groupings (SystemColors, StandardColors, CustomColors, UserColors) that can be displayed inline in your application or as a dropdown.

Component Overview

ColorUIControl is a Windows Forms control that provides a rich color selection interface with predefined color palettes. Unlike the standard ColorDialog which appears as a modal dialog, ColorUIControl can be placed inline within your application's layout or used as a dropdown control.

Key Capabilities:

  • Four predefined color groups (System, Standard, Custom, User)
  • Inline placement within application layout
  • Popup/dropdown integration via PopupControlContainer
  • Customizable color palettes and tab names
  • Visual Studio-style color picker interface
  • Programmatic and interactive color selection
  • Border style customization and panel stretching

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When users need to:

  • Install and set up the ColorUIControl component
  • Add ColorUIControl via designer or code
  • Understand assembly dependencies (Syncfusion.Shared.Base)
  • Initialize the control in C# or VB.NET
  • Set initial selected color and color group
  • Import required namespaces (Syncfusion.Windows.Forms)

Color Groups and Selection

📄 Read: references/color-groups.md

When users need to:

  • Understand the four color groups (System, Standard, Custom, User)
  • Control which color groups are displayed
  • Select default color groups programmatically
  • Customize UserColors and UserCustomColors collections
  • Add or remove specific color groups
  • Programmatically populate custom color cells

Appearance and Customization

📄 Read: references/appearance-customization.md

When users need to:

  • Set border styles (FixedSingle, Fixed3D, None)
  • Enable panel stretching for Custom and User color groups
  • Customize tab text for each color group
  • Change font styles for tab text
  • Reset tab names to defaults
  • Adjust visual appearance of the control

Events and Interaction

📄 Read: references/events.md

When users need to:

  • Handle the ColorSelected event
  • Close popups when colors are selected
  • Access selected color from event handlers
  • Work with PopupControlContainer in events
  • Implement color selection callbacks

Advanced Scenarios

📄 Read: references/popup-integration.md

When users need to:

  • Add ColorUIControl to popup menus
  • Integrate with PopupMenu and PopupControlContainer
  • Configure DropDownBarItem for color pickers
  • Show color picker on mouse clicks
  • Use ColorPickerButton for dropdown functionality
  • Create complete popup color selection workflows

Quick Start Example

Here's a minimal example to add ColorUIControl to a Windows Forms application:

using System;
using System.Drawing;
using System.Windows.Forms;
using Syncfusion.Windows.Forms;

public class ColorPickerForm : Form
{
    private ColorUIControl colorUIControl1;

    public ColorPickerForm()
    {
        InitializeComponent();
    }

    private void InitializeComponent()
    {
        // Create ColorUIControl instance
        this.colorUIControl1 = new ColorUIControl();

        // Set size
        this.colorUIControl1.Size = new Size(210, 200);
        this.colorUIControl1.Location = new Point(20, 20);

        // Set initial color and group
        this.colorUIControl1.SelectedColor = Color.OrangeRed;
        this.colorUIControl1.SelectedColorGroup =
            ColorUISelectedGroup.StandardColors;

        // Handle color selection
        this.colorUIControl1.ColorSelected += ColorUIControl1_ColorSelected;

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

        // Form settings
        this.Text = "Color Picker Example";
        this.Size = new Size(300, 300);
    }

    private void ColorUIControl1_ColorSelected(object sender, EventArgs e)
    {
        Color selectedColor = this.colorUIControl1.SelectedColor;
        MessageBox.Show($"Selected Color: {selectedColor.Name}");
    }
}

VB.NET:

Imports System.Drawing
Imports System.Windows.Forms
Imports Syncfusion.Windows.Forms

Public Class ColorPickerForm
    Inherits Form

    Private colorUIControl1 As ColorUIControl

    Public Sub New()
        InitializeComponent()
    End Sub

    Private Sub InitializeComponent()
        ' Create ColorUIControl instance
        Me.colorUIControl1 = New ColorUIControl()

        ' Set size
        Me.colorUIControl1.Size = New Size(210, 200)
        Me.colorUIControl1.Location = New Point(20, 20)

        ' Set initial color and group
        Me.colorUIControl1.SelectedColor = Color.OrangeRed
        Me.colorUIControl1.SelectedColorGroup = _
            ColorUISelectedGroup.StandardColors

        ' Handle color selection
        AddHandler Me.colorUIControl1.ColorSelected, _
            AddressOf ColorUIControl1_ColorSelected

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

        ' Form settings
        Me.Text = "Color Picker Example"
        Me.Size = New Size(300, 300)
    End Sub

    Private Sub ColorUIControl1_ColorSelected(sender As Object, e As EventArgs)
        Dim selectedColor As Color = Me.colorUIControl1.SelectedColor
        MessageBox.Show($"Selected Color: {selectedColor.Name}")
    End Sub
End Class

Common Patterns

Pattern 1: Inline Color Picker with Specific Groups

Show only Standard and Custom colors for a simplified picker:

// Display only Standard and Custom color groups
this.colorUIControl1.ColorGroups =
    ColorUIGroups.StandardColors | ColorUIGroups.CustomColors;

// Enable panel stretching for better visual layout
this.colorUIControl1.CustomColorsStretchOnResize = true;

// Set border style
this.colorUIControl1.BorderStyle = BorderStyle.FixedSingle;

Pattern 2: Custom Tab Names

Customize tab text for better context:

// Customize tab names
this.colorUIControl1.StandardTabName = "Web Colors";
this.colorUIControl1.SystemTabName = "System";
this.colorUIControl1.UserTabName = "My Colors";
this.colorUIControl1.CustomTabName = "Theme Palette";

// Customize font
this.colorUIControl1.Font = new Font("Segoe UI", 9F);

Pattern 3: Popup Color Picker

Integrate ColorUIControl into a popup menu:

// Setup: Create PopupMenu, PopupControlContainer, and ColorUIControl
private PopupMenu popupMenu1;
private PopupControlContainer popupContainer1;
private ColorUIControl colorUIControl1;
private Panel colorButton;

private void InitializePopupColorPicker()
{
    // Create and configure ColorUIControl
    colorUIControl1 = new ColorUIControl();
    colorUIControl1.Size = new Size(210, 200);

    // Create PopupControlContainer and add ColorUI
    popupContainer1 = new PopupControlContainer();
    popupContainer1.Controls.Add(colorUIControl1);

    // Create PopupMenu
    popupMenu1 = new PopupMenu();

    // Add DropDownBarItem to popup menu
    var dropDownItem = new DropDownBarItem();
    dropDownItem.PopupControlContainer = popupContainer1;
    popupMenu1.ParentBarItem.Items.Add(dropDownItem);

    // Handle panel click to show popup
    colorButton.MouseUp += ColorButton_MouseUp;

    // Close popup when color selected
    colorUIControl1.ColorSelected += ColorUIControl1_ColorSelected;
}

private void ColorButton_MouseUp(object sender, MouseEventArgs e)
{
    popupMenu1.Show(colorButton, new Point(e.X, e.Y));
}

private void ColorUIControl1_ColorSelected(object sender, EventArgs e)
{
    // Update UI with selected color
    colorButton.BackColor = colorUIControl1.SelectedColor;

    // Close the popup
    var cuiControl = sender as ColorUIControl;
    var pcc = cuiControl.Parent as PopupControlContainer;
    pcc.HidePopup(PopupCloseType.Done);
}

Pattern 4: Customizing User Color Palette

Programmatically populate custom colors:

// Customize UserColors collection with blue gradient
for (int i = 0; i < colorUIControl1.UserColors.Count; i++)
{
    colorUIControl1.UserColors[i] = Color.FromArgb(0, 0, i * 5);
}

// Customize UserCustomColors collection with red gradient
for (int i = 0; i < colorUIControl1.UserCustomColors.Count; i++)
{
    colorUIControl1.UserCustomColors[i] = Color.FromArgb(i * 15, 0, 0);
}

// Make sure UserColors group is displayed
colorUIControl1.ColorGroups =
    ColorUIGroups.StandardColors |
    ColorUIGroups.CustomColors |
    ColorUIGroups.UserColors;

// Select UserColors group by default
colorUIControl1.SelectedColorGroup = ColorUISelectedGroup.UserColors;

// Enable stretching
colorUIControl1.UserColorsStretchOnResize = true;

Key Properties

Selection Properties

  • SelectedColor (Color): Gets or sets the currently selected color
  • SelectedColorGroup (ColorUISelectedGroup): Gets or sets which color group tab is active

- Options: SystemColors, StandardColors, CustomColors, UserColors, None

Display Properties

  • ColorGroups (ColorUIGroups): Controls which color groups are visible (flags enum)

- Combine with: ColorUIGroups.StandardColors | ColorUIGroups.CustomColors

  • BorderStyle (BorderStyle): Sets border appearance (FixedSingle, Fixed3D, None)

Customization Properties

  • CustomColorsStretchOnResize (bool): Enables stretching of Custom colors panel
  • UserColorsStretchOnResize (bool): Enables stretching of User colors panel
  • StandardTabName (string): Custom text for Standard colors tab
  • SystemTabName (string): Custom text for System colors tab
  • CustomTabName (string): Custom text for Custom colors tab
  • UserTabName (string): Custom text for User colors tab
  • Font (Font): Font style for tab text

Collection Properties

  • UserColors (ColorCollection): Collection of colors in the User colors group
  • UserCustomColors (ColorCollection): Additional custom colors in User group

Events

  • ColorSelected: Raised when a color is selected by the user

Common Use Cases

  1. Text Editor Color Selection: Add inline color picker for font colors, background colors, or highlighting
  2. Design Tools: Provide color palette for drawing applications or design tools
  3. Theme Configuration: Allow users to customize application themes with color selection
  4. Chart/Graph Customization: Let users select colors for data series in charts
  5. Form Control Styling: Enable runtime color customization for form controls
  6. Color Property Editors: Integrate into property grids for color-based settings
  7. Popup Color Pickers: Create ColorPickerButton-style dropdowns for toolbar buttons
  8. Custom Color Schemes: Allow users to define and save custom color palettes

Tips and Best Practices

  • Use SelectedColorGroup to automatically focus the appropriate color tab based on user context
  • Enable panel stretching (CustomColorsStretchOnResize, UserColorsStretchOnResize) for better visual layout in larger containers
  • Customize tab names to match your application's terminology (e.g., "Theme Colors", "Brand Colors")
  • Handle ColorSelected event to close popups or update UI immediately when colors are chosen
  • For dropdown functionality, consider using ColorPickerButton instead of manually creating popup infrastructure
  • Limit visible groups using ColorGroups property to simplify the UI when users only need specific color types
  • Programmatically set UserColors when you have a predefined color scheme or theme
  • Reset methods (ResetSelectedColor(), ResetSelectedColorGroup()) are useful for "Clear" or "Default" buttons

For ColorPickerButton dropdown functionality, refer to the Syncfusion documentation on using ColorUIControl as a drop-down control.

平台分布

Codex

38.66%
按下载量换算92

Claude

28.62%
按下载量换算68

Cursor

19.15%
按下载量换算46

Gemini CLI

10.24%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills