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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor