Last Updated: 19 Feb 2019 08:31 by ADMIN
Created on: 15 Feb 2019 10:32
Category: NumericInput
Type: Bug Report
NumericInput : color used is wrong


If you take a look to the provided screenshot you'll see what's wrong at first sight.

If you add a numeric input belong other kind of input.

You will see that the numeric input is the only one control to have a style which look like the control is being focused.


Current behavior

the NumericInput color is using the accent color for all states. We can't guess whether the control is focused or not.

Expected behavior

the numeric input should have a default color and use the accent color only when focused. Use the default entry style for the entry of the numeric input.


you can also expose a numericButtonStyle property or some bindable property to allow us to set the color.


Right now, the control is unusable because of its look. Too bad, the implementation behind is nice.

It was better to create my own control which does the same. I use Telerik to avoid that.


Have a good day and thanks for your attention.

Best regards

Posted on: 19 Feb 2019 08:14
Hi Olivier,

As Lance explained earlier, the NumericInput color is by design and you could modify it inside the ControlTemplate.  I agree that having an easier way to change the buttons's colors would be a nice feature, so I have updated the status of the related item to "Approved", you could cast your vote and track its status at the link below:

I am also declining the current bug report.

Let me know if any additional questions arise.

Progress Telerik
Lance | Senior Manager Technical Support
Posted on: 18 Feb 2019 18:12
Hello Oliver,

That coloration is part of the default theme, it is intended by design and not a control defect. You can override this in one of two ways:

1. Use the Blue Theme or create a custom theme (the Themes Overview article explains how to accomplish this).
2. (most popular) Use the ControlTemplate and set NumericInputButtonStyle and NumericInputEntryStyle in there.

This KnowledgeBase article will show you the control template's structure. In the ControlTemplate you'll see a style that targets the NumericInputButton type, this is where you can define any style that you like for both buttons.

I was going to change this item to a Feature Request, however, I see that you've already opened a parallel feedback item (#1387998) to add a ButtonStyle and InputStyle properties so that this will be easier to set.

I'll mark this as closed but I have linked the two items together so that the dev team will see the full history more easily.

Lance | Technical Support Engineer, Principal
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items