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.

references/appearance-and-styling.md

View on GitHub
---
layout: post
title: Appearance in WPF Double TextBox control | Syncfusion®
description: Learn about Appearance support in Syncfusion® WPF Double TextBox control, its elements and more details.
platform: WPF
control: DoubleTextBox
documentation: ug
---

# Appearance in WPF DoubleTextBox

This section deals with the appearance of `DoubleTextBox` control and contains the following topics.

## Setting the Foreground

The `DoubleTextBox` control `Foreground` can be modified based on the value of the control (positive, negative, zero).

### Foreground for Positive Value
Set `PositiveForeground` to change color when `Value` is positive.

### Foreground for Negative Value
Set `NegativeForeground` and enable `ApplyNegativeForeground`.

### Foreground for Zero Value
Set `ZeroColor` and enable `ApplyZeroColor`.

## Setting the Background
Use `Background` to change control background.

## Setting the Corner Radius
Use `CornerRadius` to round the control border.

## Apply Background for Selection
Use `SelectionBrush` and `SelectionOpacity` to style selected text.

## Align Value
Use `TextAlignment` to align the displayed value.

## Setting ToolTip
Set `ToolTip` to show hover information.
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