MCPInstall

syncfusion-wpf-numericupdown

Learn to implement and configure the Syncfusion WPF NumericUpdown (UpDown) control for numeric value input. Use when creating numeric input fields with spin buttons, value restrictions, number formatting, and cultural support. Includes guidance for getting started, managing values, formatting numbers, styling, and advanced configurations.

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

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-numericupdown
  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-wpf-numericupdown 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 WPF NumericUpdown (UpDown)

When to Use This Skill

Use this skill when you need to:

  • Create numeric input fields with increment/decrement buttons
  • Restrict values within minimum and maximum limits
  • Format numbers with specific decimal places or grouping
  • Apply localization and culture-specific formatting
  • Customize appearance with colors based on value (positive, negative, zero)
  • Implement keyboard and mouse interactions for numeric input
  • Handle null values with watermark text

Component Overview

The Syncfusion WPF NumericUpdown (UpDown) control displays and manages numeric values with built-in spin buttons for incrementing and decrementing. It provides features for value restrictions, number formatting, event handling, and extensive styling options.

Key Components:

  • Text area: Displays the numeric value
  • Increment button: Repeat button to increase value
  • Decrement button: Repeat button to decrease value

Documentation Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly references
  • Adding UpDown via designer, XAML, and C# code
  • Basic value and step properties
  • Theme application and styling

Value and Restrictions

📄 Read: references/value-and-restrictions.md

  • Setting and managing values
  • Value change events (ValueChanged, ValueChanging)
  • Minimum and maximum value constraints
  • Validation modes and behaviors
  • Null value handling and watermarks
  • Controlling edit permissions

Number Formatting

📄 Read: references/number-formatting.md

  • Decimal digit formatting
  • Group separator configuration
  • NumberFormatInfo customization
  • Culture and localization support
  • Text alignment options

Styling and Appearance

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

  • Customizing positive, negative, and zero value colors
  • Focused state styling
  • Theme integration with SfSkinManager
  • Custom theme creation with ThemeStudio

Advanced Configuration

📄 Read: references/advanced-configuration.md

  • Step interval management
  • Keyboard and mouse interaction patterns
  • Animation support
  • Culture-specific behaviors
  • Complex use cases and scenarios

Quick Start Example

Basic XAML Setup

<Window xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
    <Grid>
        <!-- Simple UpDown with value and step -->
        <syncfusion:UpDown Name="upDown" 
                          Height="25" 
                          Width="100"
                          Value="10"
                          Step="5"
                          MinValue="0"
                          MaxValue="100" />
    </Grid>
</Window>

Basic C# Setup

// Create UpDown control
UpDown updown = new UpDown();
updown.Width = 100;
updown.Height = 25;
updown.Value = 10;
updown.Step = 5;
updown.MinValue = 0;
updown.MaxValue = 100;

// Add to container
grid.Children.Add(updown);

Handling Value Changes

updown.ValueChanged += (d, e) => 
{
    var newValue = e.NewValue;
    var oldValue = e.OldValue;
};

updown.ValueChanging += (s, e) => 
{
    // Can cancel the change
    if ((double)e.NewValue > 50)
        e.Cancel = true;
};

Common Patterns

Pattern 1: Validated Numeric Input with Restricted Range

When users need to validate input within a specific range (e.g., quantity 1-999):

var updown = new UpDown();
updown.MinValue = 1;
updown.MaxValue = 999;
updown.MinValidation = MinValidation.OnKeyPress;
updown.MaxValidation = MaxValidation.OnKeyPress;

When to use: Product quantity, age validation, percentage fields.

Pattern 2: Currency Input with Formatting

When users need formatted currency display with decimal places:

updown.NumberDecimalDigits = 2;
updown.GroupSeperatorEnabled = true;
updown.Culture = new CultureInfo("en-US");

When to use: Price input, monetary values, financial calculations.

Pattern 3: Value-Based Visual Feedback

When users need different colors for positive, negative, and zero values:

updown.EnableNegativeColors = true;
updown.NegativeBackground = Brushes.LightCoral;
updown.NegativeForeground = Brushes.DarkRed;

updown.ApplyZeroColor = true;
updown.ZeroColor = Brushes.Gray;

When to use: Profit/loss display, balance sheets, variance analysis.

Pattern 4: Null Value with Watermark

When users need to handle uninitialized or "no value" scenarios:

updown.UseNullOption = true;
updown.Value = null;
updown.NullValueText = "Enter a value";

When to use: Optional numeric fields, initial empty states.

Key Properties

PropertyTypePurpose
Valuedouble?Current numeric value
StepdoubleIncrement/decrement interval
MinValuedoubleMinimum allowed value
MaxValuedoubleMaximum allowed value
NumberDecimalDigitsintDecimal places to display
GroupSeperatorEnabledboolShow thousand separators
CultureCultureInfoLocalization format
AllowEditboolAllow direct text editing
UseNullOptionboolSupport null values
NullValueTextstringWatermark text when null

Common Use Cases

  1. Product Quantity Input: Restrict to integers with min/max range
  2. Price Input: Format with 2 decimal places and currency symbol
  3. Age Input: Restrict to valid age range (18-120)
  4. Percentage Input: Restrict to 0-100 with no decimals
  5. Temperature Control: Allow negative values with culture-specific format
  6. Discount Calculator: Show positive in green, negative in red
  7. Scoring System: Restrict to specific range (1-5 for ratings)
  8. Time Duration: Format with step intervals (15-minute increments)

Next Steps: Choose a reference file above based on your implementation needs, or read "Getting Started" for basic setup instructions.

FAQ

What does the syncfusion-wpf-numericupdown skill do?

Learn to implement and configure the Syncfusion WPF NumericUpdown (UpDown) control for numeric value input. Use when creating numeric input fields with spin buttons, value restrictions, number formatting, and cultural support. Includes guidance for getting started, managing values, formatting numbers, styling, and advanced configurations.

How do I install syncfusion-wpf-numericupdown?

Run npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-numericupdown 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-wpf-numericupdown/ (personal) or .claude/skills/syncfusion-wpf-numericupdown/ (project).

Which AI agents can use syncfusion-wpf-numericupdown?

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-wpf-numericupdown 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-wpf-numericupdown?

It is published by syncfusion in syncfusion/wpf-ui-components-skills. It has 156 recorded installs.

More from syncfusion/wpf-ui-components-skills

View all →

syncfusion-wpf-theming

syncfusion/wpf-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design184 installs

syncfusion-wpf-datagrid

syncfusion/wpf-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design176 installs

syncfusion-wpf-carousel

syncfusion/wpf-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design164 installs

syncfusion-wpf-button

syncfusion/wpf-ui-components-skills

Implement Syncfusion WPF ButtonAdv controls for configurable button UIs. Use this when adding, configuring, or customizing a Syncfusion WPF ButtonAdv — including labels, icons, size modes, toggle/checkable behavior, MVVM command binding, multiline text, corner radius, IsDefault/IsCancel modes, icon templates, and themes.

Frontend & Design163 installs

syncfusion-wpf-combobox

syncfusion/wpf-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design163 installs

syncfusion-wpf-licensing

syncfusion/wpf-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design162 installs

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