O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Text Elements

The Inline class derives from TextElement, a class representing all kinds of text content. Note that TextElements are not UIElements; they do not individually participate in the standard UIElement mechanisms such as layout, input events, and focus. They are specifically for text controls and text-specific layout rules are applied to them.

Two types of TextElements exist—Inlines and Blocks. A Block is a rectangular region, whereas an Inline is a region that flows more freely with text, potentially occupying a nonrectangular space (flowing from the end of one line to the beginning of the next). There are several more types of Inline objects besides the previously seen Run, LineBreak, and Underline. All the relevant classes and their ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required