Back to Devexpress

IndexChangedEventArgs Class

windowsforms-devexpress-dot-xtraverticalgrid-dot-events-613b923a.md

latest2.9 KB
Original Source

IndexChangedEventArgs Class

Provides data for the VGridControlBase.FocusedRecordChanged and VGridControlBase.FocusedRecordCellChanged events.

Namespace : DevExpress.XtraVerticalGrid.Events

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public class IndexChangedEventArgs :
    EventArgs
vb
Public Class IndexChangedEventArgs
    Inherits EventArgs

IndexChangedEventArgs is the data class for the following events:

Remarks

The VGridControlBase.FocusedRecordChanged event fires immediately after focus has moved from one record to another. The VGridControlBase.FocusedRecordCellChanged event fires after focus has moved from one cell to another if the previously and currently focused cells have different indexes. The IndexChangedEventArgs class introduces the IndexChangedEventArgs.NewIndex and IndexChangedEventArgs.OldIndex properties allowing you to obtain the indexes of the currently and previously focused records/cells respectively.

Inheritance

Object EventArgs IndexChangedEventArgs

See Also

IndexChangedEventArgs Members

DevExpress.XtraVerticalGrid.Events Namespace