Back to Devexpress

RichEditSelection.goToParagraphEnd Method

aspnet-js-richeditselection-b2ca58fe.md

latest918 B
Original Source

RichEditSelection.goToParagraphEnd Method

Moves the cursor to the end of the paragraph and allows you to extend the selection.

Declaration

ts
goToParagraphEnd(
    extendSelection?: boolean
): void

Parameters

NameTypeDescription
extendSelectionboolean

true to extend the selection; otherwise, false.

|

Remarks

Moves the cursor to the end of the current paragraph. If the cursor is at the end of a paragraph, moves the cursor to the end of the next paragraph.

javascript
richEdit.selection.goToParagraphEnd(true);

Refer to the following section for more information: Client Selection.

See Also

RichEditSelection Class

RichEditSelection Members