c# - Aligning text using TextBlock.Inlines for WPF/Windows Phone -
i using textblock.inlines programmatically set text properties in "behind code" in windows phone app. know how programmatically align text using inlines? i've tried applying alignment property depicted below without much luck.
mylabel.inlines.add(new run() { text = "my text ", fontsize = 10, verticalalignment = new ( verticalalignment.center) });
thanks
are sure want utilize vertical alignment? want utilize horizontal 1 instead. maybe prepare problem.
c# .net windows-phone-7 windows-phone-8
No comments:
Post a Comment