Controlling Font Properties

The TextBlock and TextBox classes rely on various font related dependency properties, which specify how text is displayed. The list of font related properties is presented in Table 6.1.

TABLE 6.1. Font Related Properties of the TextBlock and TextBox Classes

Image
Image

Best Practice

Avoid using a font size less than 15 points. Text that is smaller than 15 points in size can be hard to read and is likely too small to be an adequate touch target.

When using colored fonts, use high-contrast colors at smaller point sizes to enhance ...

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.