Skip to main content
A newer version of this page is available. .

LayoutView.VisibleRecordIndexChanged Event

Fires on scrolling the Layout View.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v18.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VisibleRecordIndexChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also