I'm working on windows phone 8 app, and m stuck here, guys i want to show some text as a superscript either in TextBox or in TextBlock where-ever possible. suggest me how can i obtained it. Thanks
相关问题
- How to access the camera from my Windows Phone 8 a
- WPF Binding from System.Windows.SystemParameters.P
- Xamarin. The name 'authorEntry does not exist
- XAML: Applying styles to nested controls
- How to properly change a resource dictionary
相关文章
- WPF MVVMLight:在ViewModel中,开子线程为ObservableCollectio
- 关于ItemsControl的绑定问题
- Working with hmacsha256 in windows store app
- XAML ComboBox SelectionChanged Fires OnLoad
- Show flyout using BottomAppBar
- WP7 Alert dialog
- Why does my ScrollViewer destroy my Grid Layout? W
- Can I add/subtract value that is bound to an eleme
There's an alternative but it's only available in WP8: Typography.Variants.
I personally prefer this approach as it aligns more with WPF but there are cases where you have to do baseline manipulation or in this instance, margin wrangling. If WPF is any indication, it also requires a font that supports variants which are generally open type/true type only. See Superscript / subscript in hyperlink in WPF for a better explanation.
Why don't you use a stackpanel wrapping a couple of textblocks instead? Then adjust the margines on the stuff you want super and subscripted.