Hi,
>The Spinner Feature QuickStart shows how you can handle the routed commands. But you would probably want to wrap the TextBox and Spinner into a custom templated Control or a UserControl to keep in encapsulated.
I guess that might be my problem. I'm trying to wrap it inside a regular class, which then creates the controls (textbox, spinner), but when I register the commands, it seems that only the first set of commands will be working and the rest will just affect the first control. I'm probably doing it wrong though.
>The Spinner's buttons use our "embedded" button style, so you can apply it using something like:
That's exactly what I was looking for - thanks! I do wonder why my buttons are so small unless I define a minimum height though. I add them to a Grid with two row definitions (each with a height of 1*) just like you do, and I give them the same padding as you do (at least that's what Snoop tells me), but while your buttons in the Spinner automatically adjust to fill up the entire height available, mine stays the same (very small) size of around 8 pixels in height. Can you give me a tip on how to make them follow the height? :)