Retrieves the plain text of the range.
Assembly: System.Windows (in System.Windows.dll)
- Type: System.Int32
The maximum length of the string to return. Use -1 to specify an unlimited length.
Return ValueType: System.String
The plain text of the text range, which might represent a portion of the full string truncated at the specified maxLength.
considersboth hidden and visible text.
If maxLength is greater than the length of the text span of the caller, the returned string is the plain text of the text range.
is unaffected by the order of endpoints in the text flow; it always returns the text from the Start through the End endpoints of the text range, in the logical order of the text flow.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.