Back to Devexpress

ColumnViewOptionsBehavior.AutoSelectAllInEditor Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsbehavior-7671e29e.md

latest2.4 KB
Original Source

ColumnViewOptionsBehavior.AutoSelectAllInEditor Property

Gets or sets whether activating a cell editor using the ENTER or F2 keys leads to the entire editor’s content being selected.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AutoSelectAllInEditor { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AutoSelectAllInEditor As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to select the entire cell’s content when editing starts; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AutoSelectAllInEditor
ColumnView

.OptionsBehavior .AutoSelectAllInEditor

|

Remarks

If you need to select the contents of a cell in its entirety, when the cell is clicked by a mouse, you need to set the following properties:

See Also

EditorShowMode

ColumnViewOptionsBehavior Class

ColumnViewOptionsBehavior Members

DevExpress.XtraGrid.Views.Base Namespace