Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winforms-textbox(同步融合 winforms 文本框)

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

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

总安装 672周安装 28GitHub Stars 公开资料未说明下载 224核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。通过 npx skills add 命令从指定仓库安装并使用。安装前需确认权限范围和维护状态,避免触发联网或文件读写操作。

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

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

上手步骤

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

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

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

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

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

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

syncfusion-winforms-textbox 是免费的吗?

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

syncfusion-winforms-textbox 用的人多吗?

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

syncfusion-winforms-textbox 安全吗?

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

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

值得选的地方

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

同步融合 winforms 文本框 · 本页

672—只读未明确通过

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

SKILL.md 原文

Implementing TextBoxes (TextBoxExt)

An enhanced textbox control for Windows Forms that provides custom border styling, Office themes, multiline text support, character casing, overflow indicators, and complete appearance customization.

When to Use This Skill

Use this skill when you need to:

  • Enhanced TextBox: Replace standard TextBox with styled, theme-enabled alternatives
  • Custom Borders: Apply custom border colors, 3D styles, and border side configurations
  • Office Themes: Match textbox appearance to Office 2016/2019 or Metro application themes
  • Multiline Text: Display multiline text with word wrap, scrollbars, and overflow indicators
  • Text Formatting: Control character casing (uppercase/lowercase), text alignment, and RTL layouts
  • Readonly Displays: Create styled readonly text fields for labels or non-editable displays
  • Overflow Tooltips: Show tooltips when text exceeds textbox boundaries
  • Size Constraints: Enforce minimum or maximum textbox dimensions

Component Overview

The TextBoxExt is an advanced textbox control derived from the standard TextBox that provides:

  • Custom border colors and 3D border styles
  • Eight built-in visual themes (Office2016, Office2019, Metro, Office2007, Office2010, Default)
  • Theme assembly integration with SkinManager
  • Multiline text with word wrap and configurable scrollbars
  • Character casing transformation (Upper, Lower, Normal)
  • Text alignment (Left, Center, Right)
  • Right-to-left layout support for international applications
  • Overflow indicators with customizable tooltips
  • Size constraints (MaximumSize/MinimumSize)
  • ReadOnly mode with active drawing when disabled
  • Twelve property-changed events for customization

Key Capabilities:

  • BorderColor and BorderStyle for custom borders
  • Style property for selecting visual themes
  • ThemeName property for runtime theme switching
  • CharacterCasing for automatic case transformation
  • ShowOverflowIndicator for text overflow detection
  • MaxLength for input length restrictions
  • DrawActiveWhenDisabled for active appearance when disabled

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

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

Topics covered:

  • Assembly deployment (Syncfusion.Shared.Base.dll)
  • NuGet package installation (Syncfusion.Shared.WinForms)
  • Namespace requirements (Syncfusion.Windows.Forms.Tools)
  • Adding TextBoxExt via designer (drag-and-drop)
  • Adding TextBoxExt programmatically
  • Basic TextBoxExt instantiation and configuration
  • Size configuration (MaximumSize/MinimumSize)
  • Multiline text setup with word wrap and scrollbars
  • Initial text display

Text Configuration

📄 Read: references/text-configuration.md

When to read: Configuring text properties, multiline text, character casing, alignment, overflow indicators, RTL support

Topics covered:

  • Text and SelectedText properties
  • CharacterCasing (Upper, Lower, Normal case transformation)
  • TextAlign (Left, Center, Right alignment)
  • RightToLeft layout for Arabic/Hebrew applications
  • DrawActiveWhenDisabled (active appearance when disabled)
  • Multiline text configuration
  • WordWrap property for line wrapping
  • ScrollBars (Horizontal, Vertical, Both, None)
  • Overflow indicators (ShowOverflowIndicator property)
  • Overflow tooltip customization (OverflowIndicatorToolTipText)
  • Text manipulation methods (AppendText, Cut, Copy, Paste, Select, SelectAll)
  • ScrollToCaret() method for caret positioning

Border Settings

📄 Read: references/border-settings.md

When to read: Customizing border appearance, applying border colors, configuring 3D borders, selecting border sides

Topics covered:

  • BorderStyle property (Fixed3D, FixedSingle, None)
  • Border3DStyle property (Raised, Sunken, Etched, etc.)
  • BorderColor customization with Color values
  • BorderSides configuration (All, Top, Bottom, Left, Right, combinations)
  • Complete border examples with code
  • Border customization patterns
  • Matching borders to application themes

Appearance and Styling

📄 Read: references/appearance-styling.md

When to read: Applying visual themes, customizing colors, selecting Office styles

Topics covered:

  • BackColor property for background customization
  • ForeColor property for text color
  • Style property overview
  • Eight built-in visual styles:

- Office2016Colorful - Office2016White - Office2016Black - Office2016DarkGray - Office2019Colorful - Metro (flat modern design) - Office2007 (classic Ribbon style) - Office2010 (refined Office look) - Default (standard appearance)

  • Visual style selection and configuration
  • Style comparison examples
  • Matching textbox style to application design

Themes Configuration

📄 Read: references/themes-configuration.md

When to read: Loading theme assemblies, configuring application-wide themes, runtime theme switching, advanced theming

Topics covered:

  • ThemesEnabled property (XP themes for Fixed3D borders)
  • ThemeName property for runtime theme selection
  • Theme assembly loading requirements

- Syncfusion.Office2016Theme.WinForms (4 variations) - Syncfusion.Office2019Theme.WinForms - Syncfusion.HighContrastTheme.WinForms

  • SkinManager.LoadAssembly() method
  • Loading themes in Program.Main()
  • Office2016 theme variations (Colorful, White, Black, DarkGray)
  • Office2019Colorful theme
  • HighContrastBlack accessibility theme
  • Application-wide theme setup
  • Theme switching at runtime
  • Theme consistency across controls

Behavior and Events

📄 Read: references/behavior-events.md

When to read: Configuring behavior properties, handling events, enforcing input restrictions, responding to property changes

Topics covered:

  • MaxLength property (input length restriction)
  • ReadOnly mode (prevent text editing)
  • Layout settings (MaximumSize, MinimumSize)
  • Twelve property-changed events:

- Border3DStyleChanged - BorderColorChanged - BorderSidesChanged - BorderStyleChanged - CharacterCasingChanged - HideSelectionChanged - MaximumSizeChanged - MinimumSizeChanged - MultilineChanged - ReadOnlyChanged - TextAlignChanged - ThemesEnabledChanged

  • Event handler implementation patterns
  • Event-driven customization
  • Validation and input control scenarios
  • Dynamic property updates

Quick Start Example

Basic Themed TextBox with Custom Border

C#:

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

// Create TextBoxExt instance
TextBoxExt textBoxExt1 = new TextBoxExt();
textBoxExt1.Location = new Point(50, 50);
textBoxExt1.Size = new Size(300, 25);
textBoxExt1.Text = "Enter your text here";

// Apply Office2016 Colorful theme
textBoxExt1.Style = TextBoxExt.theme.Office2016Colorful;

// Customize border
textBoxExt1.BorderColor = Color.FromArgb(0, 120, 215); // Blue border
textBoxExt1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;

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

VB.NET:

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

' Create TextBoxExt instance
Dim textBoxExt1 As New TextBoxExt()
textBoxExt1.Location = New Point(50, 50)
textBoxExt1.Size = New Size(300, 25)
textBoxExt1.Text = "Enter your text here"

' Apply Office2016 Colorful theme
textBoxExt1.Style = TextBoxExt.theme.Office2016Colorful

' Customize border
textBoxExt1.BorderColor = Color.FromArgb(0, 120, 215) ' Blue border
textBoxExt1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle

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

Common Patterns

Pattern 1: Multiline Text Editor with Overflow Indicator

Scenario: Create a multiline textbox for notes or comments with scrollbars and overflow tooltips

C#:

using Syncfusion.Windows.Forms.Tools;

TextBoxExt notesTextBox = new TextBoxExt();
notesTextBox.Location = new System.Drawing.Point(20, 20);
notesTextBox.Size = new System.Drawing.Size(400, 200);

// Enable multiline with word wrap
notesTextBox.Multiline = true;
notesTextBox.WordWrap = true;
notesTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;

// Configure overflow indicator
notesTextBox.ShowOverflowIndicator = true;
notesTextBox.ShowOverflowIndicatorToolTip = true;
notesTextBox.OverflowIndicatorToolTipText = "Text content exceeds visible area. Scroll to view more.";

// Apply Metro theme
notesTextBox.Style = TextBoxExt.theme.Metro;

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

Pattern 2: Readonly Display Field with Active Appearance

Scenario: Display readonly information (e.g., calculated values, status) that looks active even when disabled

C#:

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

TextBoxExt displayField = new TextBoxExt();
displayField.Location = new System.Drawing.Point(150, 100);
displayField.Size = new System.Drawing.Size(250, 25);
displayField.Text = "Total: $1,234.56";

// Make readonly but keep active appearance
displayField.ReadOnly = true;
displayField.DrawActiveWhenDisabled = true;

// Apply custom styling
displayField.BackColor = Color.WhiteSmoke;
displayField.ForeColor = Color.DarkGreen;
displayField.BorderColor = Color.LightGray;
displayField.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;

// Align text to right (common for currency)
displayField.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;

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

Pattern 3: Uppercase Input Field with Length Restriction

Scenario: Create an input field that automatically converts to uppercase (e.g., product codes, license keys)

C#:

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

TextBoxExt productCodeBox = new TextBoxExt();
productCodeBox.Location = new System.Drawing.Point(120, 80);
productCodeBox.Size = new System.Drawing.Size(200, 25);

// Enforce uppercase and length
productCodeBox.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
productCodeBox.MaxLength = 10;

// Apply Office2019 theme
productCodeBox.Style = TextBoxExt.theme.Office2019Colorful;

// Customize border
productCodeBox.BorderColor = Color.SteelBlue;
productCodeBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;

// Center align for codes
productCodeBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;

// Add placeholder behavior
productCodeBox.ForeColor = Color.Gray;
productCodeBox.Text = "ENTER-CODE";

productCodeBox.Enter += (s, e) => {
    if (productCodeBox.Text == "ENTER-CODE")
    {
        productCodeBox.Text = "";
        productCodeBox.ForeColor = Color.Black;
    }
};

productCodeBox.Leave += (s, e) => {
    if (string.IsNullOrWhiteSpace(productCodeBox.Text))
    {
        productCodeBox.Text = "ENTER-CODE";
        productCodeBox.ForeColor = Color.Gray;
    }
};

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

Key Properties

Appearance Properties

PropertyTypeDescription
StyleTextBoxExt.themeVisual theme: Office2016Colorful, Office2016White, Office2016Black, Office2016DarkGray, Office2019Colorful, Metro, Office2007, Office2010, Default
ThemeNamestringRuntime theme name (requires theme assembly loaded)
BackColorColorBackground color of textbox
ForeColorColorText color
BorderStyleBorderStyleBorder style: Fixed3D, FixedSingle, None
BorderColorColorCustom border color
Border3DStyleBorder3DStyle3D border effect: Raised, Sunken, Etched, etc.
BorderSidesBorder3DSideBorder sides: All, Top, Bottom, Left, Right

Text Properties

PropertyTypeDescription
TextstringTextbox content
SelectedTextstringCurrently selected text
CharacterCasingCharacterCasingCase transformation: Normal, Upper, Lower
TextAlignHorizontalAlignmentText alignment: Left, Center, Right
RightToLeftRightToLeftRTL layout: Yes, No
DrawActiveWhenDisabledboolDraw text as active even when control is disabled

Multiline Properties

PropertyTypeDescription
MultilineboolEnable multiline text display
WordWrapboolWrap text to next line automatically
ScrollBarsScrollBarsScrollbar visibility: None, Horizontal, Vertical, Both

Overflow Indicator Properties

PropertyTypeDescription
ShowOverflowIndicatorboolShow indicator when text overflows
ShowOverflowIndicatorToolTipboolShow tooltip on overflow indicator
OverflowIndicatorToolTipTextstringCustom tooltip text for overflow

Behavior Properties

PropertyTypeDescription
MaxLengthintMaximum character count (default: 32767)
ReadOnlyboolPrevent text editing
MaximumSizeSizeMaximum control dimensions
MinimumSizeSizeMinimum control dimensions

Theme Properties

PropertyTypeDescription
ThemesEnabledboolEnable XP themes for Fixed3D borders

Common Use Cases

1. Product Search Box with Themed Appearance

Styled textbox for searching products in inventory system:

TextBoxExt searchBox = new TextBoxExt();
searchBox.Style = TextBoxExt.theme.Office2016Colorful;
searchBox.BorderColor = Color.DodgerBlue;
searchBox.Text = "Search products...";

2. Multiline Description Field

Large textbox for product descriptions or notes:

TextBoxExt descriptionBox = new TextBoxExt();
descriptionBox.Multiline = true;
descriptionBox.WordWrap = true;
descriptionBox.ScrollBars = ScrollBars.Vertical;
descriptionBox.Size = new Size(500, 150);

3. Uppercase License Key Entry

Automatic uppercase conversion for license keys:

TextBoxExt licenseBox = new TextBoxExt();
licenseBox.CharacterCasing = CharacterCasing.Upper;
licenseBox.MaxLength = 25;
licenseBox.TextAlign = HorizontalAlignment.Center;

4. Readonly Status Display

Display-only field that shows active appearance:

TextBoxExt statusBox = new TextBoxExt();
statusBox.ReadOnly = true;
statusBox.DrawActiveWhenDisabled = true;
statusBox.BackColor = Color.LightYellow;
statusBox.Text = "Status: Active";

5. RTL Text Input for Arabic

Right-to-left textbox for international applications:

TextBoxExt arabicTextBox = new TextBoxExt();
arabicTextBox.RightToLeft = RightToLeft.Yes;
arabicTextBox.TextAlign = HorizontalAlignment.Right;

6. Custom Bordered Input Field

Textbox with custom border color matching brand:

TextBoxExt brandedBox = new TextBoxExt();
brandedBox.BorderStyle = BorderStyle.FixedSingle;
brandedBox.BorderColor = Color.FromArgb(255, 87, 34); // Orange
brandedBox.Style = TextBoxExt.theme.Metro;

7. Size-Constrained Textbox

Textbox with enforced dimensions:

TextBoxExt constrainedBox = new TextBoxExt();
constrainedBox.MinimumSize = new Size(200, 25);
constrainedBox.MaximumSize = new Size(400, 25);

Additional Resources

Assembly: Syncfusion.Shared.Base.dll Namespace: Syncfusion.Windows.Forms.Tools NuGet Package: Syncfusion.Shared.WinForms Minimum.NET Framework: 4.5

Key Classes:

  • TextBoxExt - Main enhanced textbox control class
  • SkinManager - Theme assembly loading manager

Related Skills:

  • Form theming and styling
  • Input validation
  • Multiline text editors
  • Readonly field displays

平台分布

Codex

37.71%
按下载量换算84

Claude

29.36%
按下载量换算66

Cursor

18.98%
按下载量换算43

Gemini CLI

10.5%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills