Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

TextUnit Enumeration

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
Supported by Silverlight for Windows PhoneCharacterSpecifies that the text unit is one character in length.
Supported by Silverlight for Windows PhoneFormatSpecifies that the text unit is the length of a single, common format specification, such as bold, italic, or similar.
Supported by Silverlight for Windows PhoneWordSpecifies that the text unit is one word in length.
Supported by Silverlight for Windows PhoneLineSpecifies that the text unit is one line in length.
Supported by Silverlight for Windows PhoneParagraphSpecifies that the text unit is one paragraph in length.
Supported by Silverlight for Windows PhonePageSpecifies that the text unit is one document-specific page in length.
Supported by Silverlight for Windows PhoneDocumentSpecifies that the text unit is an entire document in length.

The order, from smallest unit to largest, is as follows.

  • Character

  • Format

  • Word

  • Line

  • Paragraph

  • Page

  • Document

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.