Question

I need a monospace font in the TextBlock for a Windows Phone 7 app that I am working on. I tried the ones available and none of them seem to be monospace.

How can I do this?

Was it helpful?

Solution

I just realized that Courier New is monospaced too and it seems to work pretty fine.

OTHER TIPS

You could download a monospace font from somewhere and use it as discussed here. Adding an external font to WP7 app

Another font that's included with Windows Phone is Segoe UI Mono. It might look better since it is part of the default "Metro" (or Modern) UI type family. Use it as in:

<TextBlock FontSize="36" FontFamily="Segoe UI Mono"/>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top