Namespace System.Windows.Automation.Text Enums TextPatternRangeEndpoint Identifies text range endpoints for methods of ITextRangeProvider. TextUnit Represents pre-defined units of text for the purposes of navigation within a document.