EditFormPreparedEventArgs.FocusField(String) Method
In This Article
Sets input focus to the editor that corresponds to the grid column with the specified GridColumn.FieldName.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
field |
String | The field name of the Grid |
#Returns
Type | Description |
---|---|
Boolean | true if input focus was set to the editor; otherwise, false. |
#Remarks
Use the FocusField method to set input focus to the editor in the Edit Form that corresponds to the GridColumn with the specified GridColumn.FieldName property value.
See Also