Customizing the colors doesn't work properly
Hello,
I'm trying to customize the color but it doesn't work.
I started a new project in VS2019 and tried all combinations of your documentation but it's not working.
I just want it flat with a black background (buttons also black) and a white border. Could you try it?
Up button's top border also only appears at a specific font height.
Regards
|
this.numericUpDownExt1.VisualStyle = Syncfusion.Windows.Forms.VisualStyle.Office2016Black;
this.numericUpDownExt1.BackColor = System.Drawing.Color.Black;
this.numericUpDownExt1.Border3DStyle = System.Windows.Forms.Border3DStyle.Etched;
this.numericUpDownExt1.BorderColor = System.Drawing.Color.Yellow;
this.numericUpDownExt1.BorderSides = System.Windows.Forms.Border3DSide.All;
this.numericUpDownExt1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
Hello,
But this line does nothing.
this.numericUpDownExt1.BackColor = System.Drawing.Color.Black;
Now i'm using your combobox and it looks like this:
Bordercolor: 94, 94, 94
Backcolor: 40, 40, 40
Is it even possible to customize the numericUpDown?
NumericUpDown like the ComboBox above:
- Backcolor and buttons (40, 40, 40)
- Bordercolor and buttons bordercolor (94, 94, 94)
- No further colors changing, maybe only the buttons hover color a little bit brighter
Tried the domainUpDown but it changes the backcolor by using the buttons.
this.domainUpDownExt1.ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Managed;
Office2007Colors.ApplyManagedColors(this,Color.Orange);
Regards
Thanks for the update.
We have checked the reported query that “Customizing color not working in NumericUpDown” from our end. We have prepared the sample to achieve the requirement. Please check the sample from the below location.
Sample: https://www.syncfusion.com/downloads/support/forum/166732/ze/NumericUpdownExt-1719515335
And currently we don’t have support to customize the button back color and border color in NumericUpDownExt. So please try with above sample and let us know if you need any further assistance on this. We will be glad to assist you.
Regards,
Sudharsan
Ok, Thanks.
I think it's a good solution for me to use comboboxes for this.
Regards
Thanks for the update,
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊.
Regards,