Skip to main content

EditFormPreparedEventArgs.FocusField(GridColumn) Method

Sets input focus to the editor that corresponds to the specified GridColumn.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public bool FocusField(
    GridColumn column
)

Parameters

Name Type Description
column GridColumn

The GridColumn that corresponds to the editor to which to set input focus.

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 specified GridColumn.

See Also