This project has moved. For the latest updates, please go here.

<Integer/Double>UpDown ControlTemplate problem

Apr 28, 2011 at 8:40 AM

Hello,

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 4: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 5:33 AM

Hello.

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

Jul 7, 2011 at 1:39 PM

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