Fires after focus is moved to another row object.
[DXCategory("Property Changed")] public event FocusedRowObjectChangedEventHandler FocusedRowObjectChanged
<DXCategory("Property Changed")> Public Event FocusedRowObjectChanged As FocusedRowObjectChangedEventHandler
The FocusedRowObjectChanged event's data class is DevExpress.XtraGrid.Views.Base.FocusedRowObjectChangedEventArgs.
The FocusedRowObjectChanged event fires after focus is moved to another row object. The ColumnView.FocusedRowChanged event can also be handled to reflect changes to the focused row position. However, these events are not identical.
- another row is focused;
- focus is persisted in the same row, but the order of rows or the position of the focused row changes (for instance, when data is re-sorted or filtered).
The FocusedRowObjectChanged event fires in the first case, but not in the second case.
To identify the newly focused row, use the event's FocusedRowHandle parameter or the ColumnView.FocusedRowHandle property. The event's Row parameter specifies the row object. In server modes, the Row parameter specifies the row's key.