Skip to Main Content
Programming WPF, 2nd Edition
book

Programming WPF, 2nd Edition

by Chris Sells, Ian Griffiths
August 2007
Intermediate to advanced content levelIntermediate to advanced
864 pages
25h 52m
English
O'Reilly Media, Inc.
Content preview from Programming WPF, 2nd Edition

FrameworkContentElement

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.ContentElement
                System.Windows.FrameworkContentElement

FrameworkContentElement is the base class of all types in WPF's text object model. Because this class does not derive from Visual, elements of this type do not generate their own appearance. Instead, a tree of content elements is merely a description of some textual content, and it requires some element derived from Visual to present the content. WPF provides four such elements. TextBlock presents simple textual content, whereas the three flow document readers—FlowDocumentScrollViewer, FlowDocumentPageViewer, and FlowDocumentReader—present larger bodies of text.

Chapter 14 describes the text object model and the visual elements that can present text.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming C#, 4th Edition

Programming C#, 4th Edition

Jesse Liberty
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9780596510374Supplemental ContentErrata Page