,

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 readability. Test colors against both themes and all accent colors.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.108.68