Skip to main content

VGridControlBase.FocusLast() Method

Moves row focus to the last visible row.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public void FocusLast()

Remarks

Use the FocusLast method to focus the last visible row. If the last row is invisible on screen, calling the FocusLast method scrolls the grid to make the row visible.

Calling the FocusLast method will have no effect in the cases listed below:

The currently focused row can be identified using the grid’s VGridControlBase.FocusedRow property. To get the last visible row use the VGridControlBase.GetLastVisible method.

For more information, see Focus and Scroll Rows.

See Also