Search code examples
c#winformsdevexpressxtragrid

DevExpress LayoutView cardchange


i have a XtraGrid with and LayoutView. I use carousel to show my cards in this view. Is there a possibility to react on a "ActiveCardChanged" event or sth. like this. I just found "FocusedRowChanged" but this just react if i click the active card.

regards.


Solution

  • I suggest you use the LayoutView.VisibleRecordIndexChanged event. This event is raised when Layout View is scrolled and the index of the currently visible card is changed.