I'm looking for a Silverlight / Windows Phone 7 control that displays fractions. Not something that gives "3/4" but something "prettier". Like below.
Thanks PS. I'm looking to have each number added with a KeyDown event. Similar to the way a calculator would work. So I would need a "dynamic" type of placement of the numbers as opposed to placing them at specifi开发者_如何学Cc coordinates.
I think it'd be fairly simple to create your own with the power of WPF. Here are a couple examples
Hope it helps!
Edit:
There's a WPF version of the NumericUpDown control in Kevin Moore's Bag-O-Tricks project. I think you may be able to get it to do what you're asking.
I couldn't find exactly what I was looking for so I went with using 2 different font sizes to distinguish the whole number from the fraction. I got my idea from the following link.
http://www.xtremevbtalk.com/archive/index.php/t-320316.html
精彩评论