Skip to main content

LookUpEditBase.ClearSelectionOnBackspace Property

Gets or sets whether pressing Backspace clears the selection within the edit box in auto-complete mode. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core


public bool ClearSelectionOnBackspace { get; set; }

Property Value

Type Description

true if Backspace clears the selection; false if Backspace unselects a single character.


To enable automatic completion, set the LookUpEditBase.AutoComplete property to true.

The ClearSelectionOnBackspace property has no effect when the ValidateOnTextInput is true.

See Also