RichTextBlock.Select(TextPointer, TextPointer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects a range of text in the RichTextBlock.
public:
virtual void Select(TextPointer ^ start, TextPointer ^ end) = Select;
void Select(TextPointer const& start, TextPointer const& end);
public void Select(TextPointer start, TextPointer end);
function select(start, end)
Public Sub Select (start As TextPointer, end As TextPointer)
Parameters
- start
- TextPointer
An object that represents the start of the range to select.
- end
- TextPointer
An object that represents the end of the range to select.
Remarks
In Windows Presentation Foundation (WPF) and Microsoft Silverlight the equivalent API uses integer for start and end positions. This implementation uses TextPointer objects to specify the selection.