Skip to content

syncfusion/wpf-ui-components-skills / skills/syncfusion-wpf-double-textbox

syncfusion-wpf-double-textbox

Verified

Implements the Syncfusion WPF DoubleTextBox control for numeric double-precision input with formatting and validation. Use this when adding numeric textboxes, configuring value ranges (MinValue, MaxValue), or customizing number formatting in WPF applications. Covers culture-specific formatting, scroll intervals, watermarks, null values, and range adorners.

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.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall