ITextRangeProvider.MoveEndpointByRange Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Moves one endpoint of a text range to the specified endpoint of a second text range.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Sub MoveEndpointByRange ( _ endpoint As TextPatternRangeEndpoint, _ targetRange As ITextRangeProvider, _ targetEndpoint As TextPatternRangeEndpoint _ )
Parameters
- endpoint
- Type: System.Windows.Automation.Text.TextPatternRangeEndpoint
The endpoint to move.
- targetRange
- Type: System.Windows.Automation.Provider.ITextRangeProvider
Another range from the same text provider.
- targetEndpoint
- Type: System.Windows.Automation.Text.TextPatternRangeEndpoint
An endpoint on the other range.
Show: