In my WPF C# application, I want to add a Up / Down (开发者_如何学Pythonor Plus / Minus) button to increment or decrement an integer in a TextBox. Is there such a control or do I need to write and position a TextBox and two Buttons?
Microsoft has a "NumericUpDown Custom Control with Theme and UI Automation Support Sample"
Other useful links:
- http://wpftoolkit.codeplex.com/wikipage?title=NumericUpDown&referringTitle=Home
- http://www.codeproject.com/KB/WPF/NumericUpDownTextBox.aspx
- http://code.google.com/p/phoenix-control-library/
精彩评论