Skip to main content
Tab

TextEditProperties.SelectInputTextOnClick Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(false)]
public bool SelectInputTextOnClick { get; set; }

Property Value

Type Default Description
Boolean false

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

Remarks

The following example illustrates how to use the SelectInputTextOnClick property:

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

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