Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutView.VisibleRecordIndexChanged Event

Fires on scrolling the Layout View.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#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