This is a migrated thread and some comments may be shown as answers.

Spin Editor Styling

4 Answers 147 Views
SpinEditor
This is a migrated thread and some comments may be shown as answers.
Michael Holten
Top achievements
Rank 1
Michael Holten asked on 14 Jan 2011, 06:31 PM
I'm familiar with making my own themes, but the SpinEditor does not seem to accept new colors for the "up/down arrows". I want a new fill color for those buttons.

I also followed the Spin Editor Styling Tutorial, but again nothing changes the arrow buttons from their default blue shading. Also, when I'm in the Visual Style Builder's design mode, the display of the button does not change at all as I pick the various "state" tabs. Everything works great with other controls, just not the spin editor. ??? - Aussie

4 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 16 Jan 2011, 12:22 PM
Hello Michael,

What version of the RadControls are you using? As you can see from the attached screenshot, the arrow buttons on the RadSpinEditor can be styled.
Regards,
Richard
0
Michael Holten
Top achievements
Rank 1
answered on 18 Jan 2011, 04:10 PM
Thanks Richard, I bet you're right that I'm using an older version. Runtime version v2.0.50727, version 2009.3.9.1103. I'll see about us updating this. Thanks for the speedy reply. BTW, we love RadForms.
0
Richard Slade
Top achievements
Rank 2
answered on 18 Jan 2011, 04:12 PM
No problem. Once you've upgraded, if you found that worked, please remember to mark as answer.
Thanks
Richard
0
Ivan Petrov
Telerik team
answered on 20 Jan 2011, 01:33 PM
Hi Michael Holten,

Thank you for writing.

Richard is right that the up/down arrows can be themed. In Visual Style Builder you need to navigate to:
1.In the Controls Structure:
RadSpinEditor>>RadSpinElement>>Up/DownButton (either one Up or Down)
2.Then in the Elements you need to go to:
RadArrowButtonArrow(ArrowPrimitive)
And set the ForeColor property to the desired color.

You can look at the attached screenshot to get a better idea of the solution.

I hope this will be of use to you. If you have further questions, I would be glad to assist you.

Kind regards,
Ivan Petrov
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
SpinEditor
Asked by
Michael Holten
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Michael Holten
Top achievements
Rank 1
Ivan Petrov
Telerik team
Share this question
or