How to edit the background of Up and Down spinners for NumericUpDown control

Open
#1,741 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
desktop

Research direction

Start by locating the NumericUpDown control template and its ButtonSpinner component, then inspect how the up and down buttons receive their backgrounds. The work is done when redefining the ControlTemplate allows those button backgrounds to be customized independently.

Written by the indexing model from the issue text.

Description

I think currently there's no easy way to customize the background of up and down buttons inside the NumericUpDown control? Even if I redefine the ControlTemplate, the background still cannot be edited from ButtonSpinner as the attribute for editing it doesn't exist.

numericupdown

Dominant language
C#
Stars
4.2k
Forks
912
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from xceedsoftware/wpftoolkit

All issues in xceedsoftware/wpftoolkit

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.