/syncfusion-winforms:syncfusion-winforms-numeric-textboxfrom Syncfusion WinForms Controls
Implement Syncfusion SfNumericTextBox for numeric input with formatting, validation, and customization in Windows Forms. Use when creating numeric input controls with currency formatting, percent values, number validation, or decimal formatting. Covers numeric formatting options, value range validation, and formatted numeric data entry with validation capabilities.
Ships in Syncfusion WinForms Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Use this skill ALWAYS and immediately when you need to:
The SfNumericTextBox control is part of Syncfusion Essential Studio for Windows Forms and provides:
📄 Read: references/getting-started.md
When to read: First-time setup, installation, basic implementation
Topics covered:
📄 Read: references/format-modes.md
When to read: Formatting numbers in different modes, cultural support
Topics covered:
📄 Read: references/formatting-options.md
When to read: Hiding zeros, adding units, displaying watermarks
Topics covered:
📄 Read: references/validation-and-ranges.md
When to read: Enforcing value constraints, configuring validation behavior
Topics covered:
📄 Read: references/appearance-and-styling.md
When to read: Customizing colors, borders, and visual appearance
Topics covered:
📄 Read: references/events-and-advanced.md
When to read: Handling value changes, advanced scenarios
Topics covered:
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);
// 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}");
};
| Property | Type | Purpose |
|---|---|---|
| Value | double? | Gets or sets the numeric value |
| FormatMode | FormatMode | Sets format (Numeric, Currency, Percent) |
| MinValue | double | Minimum allowed value |
| MaxValue | double | Maximum allowed value |
| AllowNull | bool | Allow null values in control |
| WatermarkText | string | Placeholder text when empty |
| HideTrailingZeros | bool | Hide zeros after decimal point |
| Prefix | string | Text prepended to value |
| Suffix | string | Text appended to value |
| ValidationMode | ValidationMode | KeyPress or LostFocus |
| ValueChangeMode | ValueChangeMode | When value property updates |
| NumberFormatInfo | NumberFormatInfo | Culture-specific number formatting |
// Currency field with $0-$10,000 range
numericTextBox.FormatMode = FormatMode.Currency;
numericTextBox.MinValue = 0;
numericTextBox.MaxValue = 10000;
numericTextBox.WatermarkText = "Enter amount (0-10000)";
// Display and accept percentages
numericTextBox.FormatMode = FormatMode.Percent;
numericTextBox.MinValue = 0;
numericTextBox.MaxValue = 100;
numericTextBox.HideTrailingZeros = true;
// Display with custom units
numericTextBox.Suffix = " inches";
numericTextBox.Value = 25.5;
numericTextBox.HideTrailingZeros = true;
// Color based on value
numericTextBox.Style.PositiveForeColor = Color.Green;
numericTextBox.Style.NegativeForeColor = Color.Red;
numericTextBox.Style.ZeroForeColor = Color.Gray;
references/appearance-and-styling.md (opens in a new tab)references/events-and-advanced.md (opens in a new tab)references/format-modes.md (opens in a new tab)references/formatting-options.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/validation-and-ranges.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.Other plugins' skills for the same job