Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LookUpEditBase.SelectAllOnAcceptPopup Property

Gets or sets whether to select the entire text when end-user presses Enter while a popup is open. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool? SelectAllOnAcceptPopup { get; set; }

#Property Value

Type Description
Nullable<Boolean>

true, to select the text on popup accept; otherwise, false.

#Remarks

Set the SelectAllOnAcceptPopup property to true to enable automatic text selection when an end-user presses Enter while a popup is open. To enable text selection when editor gets focus via a mouse click, set the TextEditBase.SelectAllOnMouseUp to true.

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