ITextRangeProvider Methods

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

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The ITextRangeProvider type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone AddToSelection Adds to the collection of highlighted text in a text container that supports multiple disjoint selections.
Public methodSupported by Silverlight for Windows Phone Clone Returns a new ITextRangeProvider that is identical to the original ITextRangeProvider and that inherits all the properties of the original.
Public methodSupported by Silverlight for Windows Phone Compare Returns a value that indicates whether the span (the Start endpoint through the End endpoint) of a text range is the same as another text range.
Public methodSupported by Silverlight for Windows Phone CompareEndpoints Returns a value that specifies whether two text ranges have identical endpoints.
Public methodSupported by Silverlight for Windows Phone ExpandToEnclosingUnit Expands the text range to the specified text unit.
Public methodSupported by Silverlight for Windows Phone FindAttribute Returns a text range subset that has the specified attribute ID and attribute value.
Public methodSupported by Silverlight for Windows Phone FindText Returns a text range subset that contains the specified text.
Public methodSupported by Silverlight for Windows Phone GetAttributeValue Retrieves the value of the specified attribute ID across the text range.
Public methodSupported by Silverlight for Windows Phone GetBoundingRectangles Retrieves a collection of bounding rectangles for each fully or partially visible line of text in a text range.
Public methodSupported by Silverlight for Windows Phone GetChildren Retrieves a collection of all the embedded objects that exist within the text range.
Public methodSupported by Silverlight for Windows Phone GetEnclosingElement Returns the innermost element that encloses the text range.
Public methodSupported by Silverlight for Windows Phone GetText Retrieves the plain text of the range.
Public methodSupported by Silverlight for Windows Phone Move Moves the text range the specified number of text units.
Public methodSupported by Silverlight for Windows Phone MoveEndpointByRange Moves one endpoint of a text range to the specified endpoint of a second text range.
Public methodSupported by Silverlight for Windows Phone MoveEndpointByUnit Moves one endpoint of the text range the specified number of text units within the document range.
Public methodSupported by Silverlight for Windows Phone RemoveFromSelection From the collection of highlighted text in a text container that supports multiple disjoint selections, removes a highlighted section of text that corresponds to the caller's Start and End endpoints.
Public methodSupported by Silverlight for Windows Phone ScrollIntoView Causes the text control to scroll vertically until the text range is visible in the viewport.
Public methodSupported by Silverlight for Windows Phone Select Highlights text in the text control that corresponds to the Start and End endpoints of the text range.

Top