Skip to main content

TextEditBase.SelectAllOnGotFocus Property

Gets or sets whether to select the entire text when the editor gets focus via keyboard.

Namespace: DevExpress.Xpf.Editors

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

#Declaration

public bool SelectAllOnGotFocus { get; set; }

#Property Value

Type Description
Boolean

true to select the text on focus via keyboard; otherwise, false.

#Remarks

To select all the text within the editor manually, use the TextEditBase.SelectAll method. To select only the specified amount of text, use the TextEdit.Select method.

See Also