windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-09d0851c.md
Selects the entire contents of the RichEditControl.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.XtraRichEdit.v25.2.dll
NuGet Package : DevExpress.Win.RichEdit
public void SelectAll()
Public Sub SelectAll
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectAll() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richeditcontrol-common-api/CS/RichEditAPISample/CodeExamples/RichEditControlActions.cs#L517
RichEditControl richEdit = e.Item.Tag as RichEditControl;
richEdit.SelectAll();
winforms-richeditcontrol-common-api/VB/RichEditAPISample/CodeExamples/RichEditControlActions.vb#L526
Dim richEdit As RichEditControl = TryCast(e.Item.Tag, RichEditControl)
richEdit.SelectAll()
See Also