Summary
This chapter began by looking at the various types used for displaying and entering text in a Windows Phone XAML app, in particular the TextBlock
, TextBox
, PasswordBox
, and RichTextBox
. It then explored each of these elements in greater depth, starting with the TextBlock
, where it showed how to create multiline text using Run
and LineBreak
objects. It then looked at font support, including the built-in fonts, and demonstrated techniques for providing custom fonts in your application using font embedding, or the FontSource
property using a Stream
. It also examined the SIP, and how to customize the onscreen keyboard using input scopes.
Also included in this chapter was a useful sample page that allows you to preview the various input scopes. ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.