mcpField
S
syncfusion-wpf-double-textbox

syncfusion-wpf-double-textbox

github.com/syncfusionDesign & UI5157 installsUpdated 1w ago
Repository

About syncfusion-wpf-double-textbox

A usage guide for developers building WPF apps with Syncfusion DoubleTextBox, covering double-value input, formatting, range limits, and configuration patterns.

Key features

  1. 01Bind and enter double values
  2. 02Set minimum and maximum limits
  3. 03Configure culture and number formats
  4. 04Set stepping, scrolling, and spin buttons
  5. 05Follow XAML and C# examples

Use cases

  1. 01Configure a textbox bound to a ViewModel
  2. 02Restrict the permitted numeric range
  3. 03Set separators for a culture
  4. 04Add step controls to numeric input

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-double-textbox

After installing, type/syncfusion-wpf-double-textboxin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
appearance-and-styling.md
changing-double-value.md
culture-and-number-formats.md
getting-started.md
overview.md
range-adorner.md
restriction-or-validation.md
step-interval.md

Details

From the project README

Implementing DoubleTextBox

This skill collects guidance and examples for the Syncfusion WPF DoubleTextBox control. Use this skill to find usage patterns, configuration options, and common gotchas when building WPF apps that accept double values.

When to Use This Skill

  • When adding or configuring a WPF numeric input bound to doubles
  • When restricting values using MinValue / MaxValue
  • When formatting values for different cultures or customizing group/decimal separators
  • When enabling step/scroll intervals, spin buttons, or range adorner
  • When you need examples for XAML or C# usage patterns

Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installing and adding the control via XAML/C#; basic properties and value binding
Overview

📄 Read: references/overview.md

  • Short feature list and control summary
Appearance & Styling

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

  • Foreground for positive/negative/zero, background, corner radius, selection brush
Validation & Restrictions

📄 Read: references/restriction-or-validation.md

  • Min/Max validation modes, decimal digit limits, read-only mode
Step Interval & Scrolling

📄 Read: references/step-interval.md

  • ScrollInterval, mouse wheel, click-and-drag, selection-on-focus
Culture & Number Formatting

📄 Read: references/culture-and-number-formats.md

  • Culture, NumberFormat, dedicated formatting properties
Range Adorner

📄 Read: references/range-adorner.md

  • Visual range indicator based on MinValue/MaxValue
Changing Value & Advanced Behavior

📄 Read: references/changing-double-value.md

  • Paste behavior, spin buttons, null value handling, watermarks

Quick Start (XAML)

<syncfusion:DoubleTextBox x:Name="doubleTextBox" Width="150" Height="25"
                          MinValue="0" MaxValue="100" Value="10"
                          ScrollInterval="1" />

Common Patterns

  • Bind Value to a ViewModel property and use UpdateSourceTrigger=PropertyChanged for immediate updates.
  • Use MinValidation/MaxValidation to choose between strict-on-keypress and permissive-on-lost-focus behaviors.
  • For globalization, set Culture or NumberFormat and prefer NumberFormat when exact control is required.

Comments

Markdown supported