Chapter 17. Text and Documents

Text in WPF

WPF allows programmers to design programs with amazing graphic content with unprecedented ease. Text, however, still plays an important part in most programs and can even be the dominant component of some. Programs can use different amounts of text and use it in very different ways. In this chapter, you'll learn some of the ways WPF provides for presenting text.

Generally, programs use small amounts of text to label parts of the UI so the user knows what controls and elements are used for. This is text about the program and is often implemented using the Label element you saw in Chapter 6. In this case, the text is just an incidental part of the program.

Sometimes, however, the text isn't about the program; ...

Get Illustrated WPF 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.