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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.