TextEdit.SelectAll() Method

Selects all text within the text box.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public override void SelectAll()
Public Overrides Sub SelectAll

Remarks

This method enables you to select all text within the control. Note that end-users can select the entire text box's content using the built-in context menu or the F2 key. You can use the SelectAll method if you need to provide additional methods for selecting the editor's content. You may also need to facilitate end-user input using this method. For instance, you can select the entire editor's content when an editor receives focus.

See Also