Skip to main content

LayoutView.VisibleRecordIndexChanged Event

Fires on scrolling the Layout View.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

[DXCategory("Behavior")]
public event LayoutViewVisibleRecordIndexChangedEventHandler VisibleRecordIndexChanged

Event Data

The VisibleRecordIndexChanged event's data class is LayoutViewVisibleRecordIndexChangedEventArgs. The following properties provide information specific to this event:

Property Description
PrevVisibleRecordIndex Gets the index of the previously visible card.
VisibleRecordIndex Gets the index of the current visible card.

Remarks

When the Layout View is scrolled, the index of the currently visible card is changed. This index can be obtained via the LayoutView.VisibleRecordIndex property. The VisibleRecordIndexChanged fires when the LayoutView.VisibleRecordIndex property’s value is changed.

See Also