This project has moved and is read-only. For the latest updates, please go here.

<Integer/Double>UpDown ControlTemplate problem

Apr 28, 2011 at 9:40 AM


I've got a problem restyling the UpDown controls to my requirements. First problem is that I can't set the BorderBrush for the control, it's always the same gradient brush. Also I would like to retemplate the two up/down buttons to look the same like my own buttons (i.e. background, look of the arrows etc). Can someone give me a hint how to solve this?

Regards, Michael

Apr 28, 2011 at 5:57 PM

You will want to re-template the ButtonSpinner control, this is the control that the UpDown editors use internally.

Jul 7, 2011 at 6:33 AM


Could anybody give an example of <Integer/Double>UpDown ControlTemplate?

Jul 7, 2011 at 2:39 PM

If you download the source code, you will see the default control template.  You can then modify it to fit your needs.