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

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool SelectAllOnMouseUp { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

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

Note

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