Windows.UI.Xaml.Documents namespace

Applies to Windows and Windows Phone

Provides basic text and document model classes.

Members

The Windows.UI.Xaml.Documents namespace has these types of members:

Classes

The Windows.UI.Xaml.Documents namespace has these classes.

ClassDescription
Block An abstract class that provides a base for all block-level content elements.
BlockCollection Represents a collection of Block elements.
Bold Provides an inline-level content element that causes content to render with a bold font weight.
Glyphs Provides a visual representation of letters, characters, or symbols, in a specific font and style.
Hyperlink Provides an inline-level content element that provides facilities for hosting hyperlinks.
HyperlinkClickEventArgs Provides data for the Hyperlink.Click event.
Inline Provides a base class for inline text elements, such as Span and Run.
InlineCollection Represents a collection of Inline elements.
InlineUIContainer Provides an inline content element that enables UIElement types to be embedded in the content of a RichTextBlock.
Italic Provides an inline-level flow content element that causes content to render with an italic font style.
LineBreak Represents an inline element that causes a new line to begin in content when rendered in a text container.
Paragraph Provides a block-level content element that is used to group content into a paragraph.
Run Represents a discrete section of formatted or unformatted text.
Span Groups other Inline content elements. Parent class for Bold, Hyperlink, Italic and Underline.
TextElement An abstract class used as the base class for the also-abstract Block and Inline classes. TextElement supports common API for classes involved in the XAML text object model, such as properties that control text size, font families and so on.
TextPointer Represents a position within a text element.
Typography Provides access to a set of Microsoft OpenType typography properties. These properties are implemented as XAML attached properties such that they can be set from text object model properties as well as from specific text controls.
Underline Provides an inline-level content element that causes content to render with an underlined text decoration.

 

Enumerations

The Windows.UI.Xaml.Documents namespace has these enumerations.

EnumerationDescription
LogicalDirection Specifies a logical direction in which to perform certain text operations, such as inserting, retrieving, or navigating through text relative to a specified position (a TextPointer).

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Documents
Windows::UI::Xaml::Documents [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft