Поделиться через


ITextProvider.DocumentRange Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a text range that encloses the main text of a document.

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

Syntax

'Declaration
ReadOnly Property DocumentRange As ITextRangeProvider
ITextRangeProvider DocumentRange { get; }

Property Value

Type: System.Windows.Automation.Provider.ITextRangeProvider
A text range that encloses the main text of a document.

Remarks

Some auxiliary text, for example headers, footnotes, or annotations, may not be included in the text range.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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