Selection Property
Description
Returns the currently selected text.
Property Type
Read-only property
Syntax (Visual Basic)
Public Property Selection() As [SyntaxEditTextSelection](XtremeSyntaxEdit~SyntaxEditTextSelection.md)
Remarks
You can use Selection to:
- Get the currently selected text
- Clear the selection
- Set the selection mode
- Change the selected text
- Determine which direction the text was selected
You can set the Start and End properties to define the selection (to highlight part of text). If Start == End, then the selection is empty.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.