A newer version of this page is available. Switch to the current version.

TextEditSettings.SelectAllOnMouseUp Property

Gets or sets whether to select the entire text when the editor gets focus via mouse click. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v20.2.dll


public bool SelectAllOnMouseUp { get; set; }

Property Value

Type Description

true, to select the text on focusing by mouse click; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to SelectAllOnMouseUp


Set the SelectAllOnMouseUp property to true to enable automatic text selection when editor gets focus by mouse click.


The SelectAllOnMouseUp property is not intended for the GridControl. In the GridControl, you can use the DataViewBase.EditorShowMode property to manage an in-place editors’ activation mode. The GridControl will automatically select all text on activation when you set the EditorShowMode property to MouseUp.

See Also