MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TextUnit Enumeration

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Represents pre-defined units of text for the purposes of navigation within a document.

Namespace:  System.Windows.Automation.Text
Assembly:  System.Windows (in System.Windows.dll)

public enum TextUnit

Member nameDescription
CharacterSpecifies that the text unit is one character in length.
FormatSpecifies that the text unit is the length of a single, common format specification, such as bold, italic, or similar.
WordSpecifies that the text unit is one word in length.
LineSpecifies that the text unit is one line in length.
ParagraphSpecifies that the text unit is one paragraph in length.
PageSpecifies that the text unit is one document-specific page in length.
DocumentSpecifies that the text unit is an entire document in length.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2016 Microsoft