Token导航 LogoToken导航

Agent Skill · 开发

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

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

syncfusion-winforms-numeric-textbox 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 13,899。

总安装 792周安装 33GitHub Stars 1下载 264核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

专用于浮点数输入的文本框,支持小数点、负号与科学计数法处理。适用于金额、比率、测量值等连续数值类型的表单字段设计。技能集成输入验证与格式化输出,确保前后端数据表达一致。不同文化圈数字格式(如逗号分隔)需根据 Locale 动态调整显示规则。防抖处理可避免实时计算带来的性能损耗,提升用户体验流畅度。

来源仓库内路径:skills/syncfusion-winforms-numeric-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-numeric-textbox 怎么安装?

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

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

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

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

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

syncfusion-winforms-numeric-textbox 是免费的吗?

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

syncfusion-winforms-numeric-textbox 用的人多吗?

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

syncfusion-winforms-numeric-textbox 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
syncfusion-winforms-numeric-textbox

同步融合 winforms 数字文本框 · 本页

7921只读未明确通过

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

SKILL.md 原文

Implementing Syncfusion WinForms SfNumericTextBox

The Syncfusion WinForms SfNumericTextBox control is an advanced text input control that displays and accepts numeric values in multiple formats (numeric, currency, percent) with comprehensive validation, customization, and cultural support. It provides formatting options, value constraints, appearance customization, and event-driven capabilities for professional numeric data entry scenarios.

When to Use This Skill

Use this skill ALWAYS and immediately when you need to:

  • Numeric Input: Accept and display numeric values with precision
  • Format Modes: Support numeric, currency, or percent formats
  • Value Validation: Enforce minimum and maximum value constraints
  • Formatting: Apply custom formatting with prefix/suffix, hide trailing zeros
  • Watermark: Display placeholder text when control is empty
  • Cultural Formatting: Support multiple cultures and number formats
  • Appearance Customization: Customize colors based on value (positive/negative/zero)
  • Event Handling: Respond to value changes with ValueChanged event
  • Data Entry Forms: Build professional forms with validated numeric fields

Component Overview

The SfNumericTextBox control is part of Syncfusion Essential Studio for Windows Forms and provides:

  • Multiple Format Modes: Numeric, Currency, and Percent modes
  • Value Range Support: Define and validate minimum and maximum values
  • Precision Preservation: Maintains full precision while displaying formatted text
  • Null Value Support: AllowNull property for nullable numeric fields
  • Watermark Text: Display guidance text when value is null
  • Custom Units: Prefix and suffix support for units and labels
  • Trailing Zeros: Option to hide trailing zeros for cleaner display
  • Validation Modes: KeyPress or LostFocus validation timing
  • Color Customization: Different colors for positive, negative, and zero values
  • Border Styling: Customizable borders with focus and hover states
  • Event System: ValueChanged event with OldValue and NewValue tracking
  • Cultural Support: Culture-aware formatting via NumberFormatInfo
  • Designer Support: Full design-time support via toolbox

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When to read: First-time setup, installation, basic implementation

Topics covered:

  • Assembly deployment and NuGet package installation
  • Adding SfNumericTextBox via designer or code
  • Namespace imports
  • Setting values (Value property)
  • Basic format modes
  • Watermark text basics
  • Min/Max value setup

Format Modes

📄 Read: references/format-modes.md

When to read: Formatting numbers in different modes, cultural support

Topics covered:

  • FormatMode property (Numeric, Currency, Percent)
  • Numeric format mode with decimal control
  • Currency formatting with symbols
  • Percent mode for percentage values
  • Culture-specific formatting
  • NumberFormatInfo customization
  • Decimal separators and group separators
  • Practical examples for each mode

Formatting Options

📄 Read: references/formatting-options.md

When to read: Hiding zeros, adding units, displaying watermarks

Topics covered:

  • Hiding trailing zeros (HideTrailingZeros property)
  • Prefix and suffix for custom units
  • Watermark text implementation
  • WatermarkText property and AllowNull
  • Combining watermark with format modes
  • Display examples
  • Edge cases and best practices

Validation and Value Ranges

📄 Read: references/validation-and-ranges.md

When to read: Enforcing value constraints, configuring validation behavior

Topics covered:

  • MinValue and MaxValue properties
  • ValidationMode property (KeyPress vs LostFocus)
  • ValueChangeMode property (when value updates)
  • LostFocusValidation modes (Reset, MaxValue, MinValue)
  • Validation flow and event timing
  • Error scenarios and handling
  • Practical validation examples

Appearance and Styling

📄 Read: references/appearance-and-styling.md

When to read: Customizing colors, borders, and visual appearance

Topics covered:

  • PositiveForeColor for positive values
  • NegativeForeColor for negative values
  • ZeroForeColor for zero values
  • WatermarkForeColor for placeholder text
  • BorderColor, FocusBorderColor, HoverBorderColor
  • DisabledBorderColor for disabled state
  • BorderStyle property
  • Background and font customization
  • Visual state examples

Events and Advanced Patterns

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

When to read: Handling value changes, advanced scenarios

Topics covered:

  • ValueChanged event and subscription
  • ValueChangedEventArgs (OldValue, NewValue)
  • Event timing and validation interaction
  • Responding to value changes
  • Advanced patterns (conditional formatting, cascading updates)
  • Performance considerations
  • Common event patterns

Quick Start Example

Basic Numeric TextBox in Code

using Syncfusion.WinForms.Input;

// Create SfNumericTextBox
var numericTextBox = new SfNumericTextBox();
numericTextBox.Size = new System.Drawing.Size(150, 20);
numericTextBox.Value = 123.45;
this.Controls.Add(numericTextBox);

With Formatting and Validation

// Set format mode to currency
numericTextBox.FormatMode = Syncfusion.WinForms.Input.Enums.FormatMode.Currency;

// Set value constraints
numericTextBox.MinValue = 0;
numericTextBox.MaxValue = 10000;

// Add watermark
numericTextBox.WatermarkText = "Enter amount";
numericTextBox.AllowNull = true;

// Subscribe to value changes
numericTextBox.ValueChanged += (sender, e) =>
{
    MessageBox.Show($"Value changed from {e.OldValue} to {e.NewValue}");
};

Key Props and Methods

PropertyTypePurpose
Valuedouble?Gets or sets the numeric value
FormatModeFormatModeSets format (Numeric, Currency, Percent)
MinValuedoubleMinimum allowed value
MaxValuedoubleMaximum allowed value
AllowNullboolAllow null values in control
WatermarkTextstringPlaceholder text when empty
HideTrailingZerosboolHide zeros after decimal point
PrefixstringText prepended to value
SuffixstringText appended to value
ValidationModeValidationModeKeyPress or LostFocus
ValueChangeModeValueChangeModeWhen value property updates
NumberFormatInfoNumberFormatInfoCulture-specific number formatting

Common Patterns

Pattern 1: Currency Input with Range

// Currency field with $0-$10,000 range
numericTextBox.FormatMode = FormatMode.Currency;
numericTextBox.MinValue = 0;
numericTextBox.MaxValue = 10000;
numericTextBox.WatermarkText = "Enter amount (0-10000)";

Pattern 2: Percentage Display

// Display and accept percentages
numericTextBox.FormatMode = FormatMode.Percent;
numericTextBox.MinValue = 0;
numericTextBox.MaxValue = 100;
numericTextBox.HideTrailingZeros = true;

Pattern 3: Measurement with Units

// Display with custom units
numericTextBox.Suffix = " inches";
numericTextBox.Value = 25.5;
numericTextBox.HideTrailingZeros = true;

Pattern 4: Validation with Color Feedback

// Color based on value
numericTextBox.Style.PositiveForeColor = Color.Green;
numericTextBox.Style.NegativeForeColor = Color.Red;
numericTextBox.Style.ZeroForeColor = Color.Gray;

Next Steps

  1. Start here: Read getting-started.md for installation and basic setup
  2. Choose format: Explore format-modes.md for numeric, currency, or percent modes
  3. Add formatting: Check formatting-options.md for units, watermarks, and display options
  4. Enable validation: Review validation-and-ranges.md for constraints
  5. Customize appearance: Use appearance-and-styling.md for colors and borders
  6. Handle events: Implement events-and-advanced.md for dynamic behavior

平台分布

Codex

33.97%
按下载量换算90

Claude

29.24%
按下载量换算77

Cursor

20.45%
按下载量换算54

Gemini CLI

9.22%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills