Skip to main content

TextEditProperties.SelectInputTextOnClick Property

Specifies whether to select all text within the editor when it is focused.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public bool SelectInputTextOnClick { get; set; }

Property Value

Type Default Description
Boolean false

true to select all text within the editor on focus; otherwise, false.


The following example illustrates how to use the SelectInputTextOnClick property:

<dx:ASPxGridView ID="GridView1" >  
        <dx:GridViewDataSpinEditColumn ... >
            <PropertiesSpinEdit SelectInputTextOnClick="True" />

Note that the SelectInputTextOnClick property is not in effect when the grid is in batch edit mode. In this mode, a user does not click a cell editor, but clicks a data cell. When the grid switches to edit mode, it renders a cell editor, focuses it, and selects the editor’s input text.

See Also