28.6. The Last Word

Most developers already know that WPF offers a new model for drawing, layout, and animation. However, its rich document features are often overlooked.

In this chapter, you've seen how to create flow documents, lay out text inside them in a variety of ways, and control how that text is displayed in different containers. You also learned how to use the FlowDocument object model to change portions of the document dynamically, and you considered the RichTextBox, which provides a solid base for advanced text editing features.

Lastly, you took a quick look at fixed documents and the XpsDocument class. The XPS model provides the plumbing for WPF's new printing feature, which is the subject of the next chapter.

Get Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4 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.