MCPInstall

syncfusion-winforms-double-textbox

Guide to implementing Syncfusion WinForms DoubleTextBox control for accepting double-precision floating-point values with customizable formatting and validation. Use this when working with numeric input controls requiring double data type support, decimal formatting, or value range constraints in Windows Forms applications.

Installs
77
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

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

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-winforms-double-textbox automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Syncfusion WinForms DoubleTextBox

When to Use This Skill

Use this skill when you need to:

  • Accept and display double-precision floating-point values in a Windows Forms application
  • Implement numeric input with customizable decimal places and group separators
  • Apply min/max value constraints to numeric input
  • Handle value change events or keyboard shortcuts for incrementing/decrementing values
  • Override the control's default keystroke handling for custom behavior
  • Apply visual styling based on positive, negative, or zero values

Component Overview

The DoubleTextBox is a specialized text box control derived from the Windows Forms Framework that handles double data type values. It provides:

  • Automatic double value validation and formatting
  • Customizable number display (decimal digits, separators, patterns)
  • Min/max value constraints
  • Event handling for value changes and keyboard input
  • Keyboard shortcut support for incrementing/decrementing values
  • Extensibility through method overrides

Documentation Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly deployment and setup
  • Adding control via designer
  • Adding control via C# code
  • Setting maximum and minimum values
  • Customizing number format

Number and Format Settings

📄 Read: references/number-and-format-settings.md

  • Number formatting properties overview
  • Decimal digits and separators
  • Value range configuration (MaxValue/MinValue)
  • Banner text support
  • Hiding trailing zeros

Appearance and Behavior

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

  • Border style settings
  • Color settings for value states
  • Keyboard support configuration
  • Overflow indicator display
  • Active when disabled behavior

Event Handling and Customization

📄 Read: references/event-handling-and-customization.md

  • DoubleValueChanged event handling
  • Keyboard events for increment/decrement
  • Overriding control behavior
  • Custom HandleSubtractKey implementation
  • Extending control functionality

Quick Start Example

Basic setup in C#:

using Syncfusion.Windows.Forms.Tools;

// Create instance
DoubleTextBox doubleTextBox1 = new DoubleTextBox();
this.Controls.Add(doubleTextBox1);

// Set value constraints
doubleTextBox1.MaxValue = 100;
doubleTextBox1.MinValue = 0;

// Handle value changes
doubleTextBox1.DoubleValueChanged += (s, e) => 
    MessageBox.Show("Value changed");

Key properties:

  • DoubleValue - Gets or sets the double value
  • MaxValue - Maximum allowed value
  • MinValue - Minimum allowed value
  • NumberDecimalDigits - Number of decimal places to display
  • NumberDecimalSeparator - Character used as decimal separator
  • NumberGroupSeparator - Character used as thousands separator

Common Patterns

Pattern 1: Accept Percentage Input (0-100)

doubleTextBox1.MinValue = 0;
doubleTextBox1.MaxValue = 100;
doubleTextBox1.NumberDecimalDigits = 2;
doubleTextBox1.Text = "50";

Pattern 2: Accept Currency Values

doubleTextBox1.NumberDecimalDigits = 2;
doubleTextBox1.NumberGroupSeparator = ",";
doubleTextBox1.NumberDecimalSeparator = ".";
doubleTextBox1.Text = "1234.56";

Pattern 3: Increment/Decrement with Keyboard

doubleTextBox1.KeyDown += (s, e) =>
{
    if (e.KeyCode == Keys.Up)
        doubleTextBox1.DoubleValue++;
    else if (e.KeyCode == Keys.Down)
        doubleTextBox1.DoubleValue--;
};

Pattern 4: Allow Null/Empty Values

doubleTextBox1.AllowNull = true;
doubleTextBox1.NullString = "";
doubleTextBox1.Text = "";

Key Properties

PropertyTypePurpose
DoubleValuedoubleGets or sets the double value of the textbox
MaxValuedoubleMaximum allowed value
MinValuedoubleMinimum allowed value
NumberDecimalDigitsintNumber of decimal places to display
NumberDecimalSeparatorstringDecimal separator character
NumberGroupSeparatorstringThousands separator character
NumberGroupSizesint[]Sizes of number groups
NumberNegativePatternintPattern for negative numbers
HideTrailingZerosboolHide trailing zeros in display
AllowNullboolAllow null/empty values
NullStringstringString representation of null

Common Use Cases

  1. Financial Applications - Currency input with two decimal places, value constraints
  2. Measurement Input - Scientific data with variable decimal precision
  3. Percentage Fields - Constrained to 0-100 range with validation
  4. Configuration Settings - Numeric parameters for application tuning
  5. Data Entry Forms - Validated numeric fields with formatting
  6. Calculate Totals - Increment/decrement values with keyboard shortcuts

FAQ

What does the syncfusion-winforms-double-textbox skill do?

Guide to implementing Syncfusion WinForms DoubleTextBox control for accepting double-precision floating-point values with customizable formatting and validation. Use this when working with numeric input controls requiring double data type support, decimal formatting, or value range constraints in Windows Forms applications.

How do I install syncfusion-winforms-double-textbox?

Run npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-double-textbox in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-winforms-double-textbox/ (personal) or .claude/skills/syncfusion-winforms-double-textbox/ (project).

Which AI agents can use syncfusion-winforms-double-textbox?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-winforms-double-textbox safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-winforms-double-textbox?

It is published by syncfusion in syncfusion/winforms-ui-components-skills. It has 77 recorded installs.

More from syncfusion/winforms-ui-components-skills

View all →

syncfusion-winforms-datagrid

syncfusion/winforms-ui-components-skills

Implements Syncfusion WinForms SfDataGrid component for displaying and managing tabular data in Windows Forms applications. Use this when working with data grids, column management (auto-generation, stacked headers), data operations (filtering, sorting, grouping), or grid editing with validation. The skill covers data summaries, selection modes, export capabilities (Excel/PDF), conditional styling, master-detail views, and drag-and-drop functionality.

syncfusion-winforms-button

syncfusion/winforms-ui-components-skills

Guide developers to implement and customize the Syncfusion Windows Forms SfButton control for desktop applications. Use this when creating interactive buttons with text, images, styling, and theming in Windows Forms applications. Covers implementation, customization, and interaction handling.

syncfusion-winforms-common

syncfusion/winforms-ui-components-skills

Comprehensive guide for implementing Syncfusion Essential Studio Windows Forms (WinForms) controls in desktop applications. Use this skill when working with Syncfusion WinForms components or Essential Studio WinForms. Covers WinForms installation, localization, high DPI support, and .NET Core compatibility. Helps with adding controls, registering license keys, and troubleshooting WinForms component issues.

syncfusion-winforms-contextmenustrip

syncfusion/winforms-ui-components-skills

Implement ContextMenuStripEx enhanced context menus in Windows Forms applications. Use this when working with context menus, right-click functionality, or popup menus with custom items. Covers menu configuration, multi-level menus, keyboard shortcuts, and appearance customization in WinForms.

syncfusion-winforms-listview

syncfusion/winforms-ui-components-skills

Guide for implementing Syncfusion SfListView control in Windows Forms for creating list-based UIs with data binding, grouping, sorting, filtering, and selection capabilities. Use when building applications with item collections, Explorer views, contact lists, or product catalogs with sortable/filterable lists. Covers data binding, checkbox lists, grouped lists, filtered lists, and rich data display for list interfaces.

syncfusion-winforms-docking-manager

syncfusion/winforms-ui-components-skills

Guide to implement Syncfusion WinForms DockingManager control for Visual Studio-style dockable windows and layouts. Use this when creating docked, floating, or tabbed windows with advanced layout management. Covers dock states, auto-hide functionality, caption customization, and serialization in WinForms applications.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs