Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
360
Event when rows visible changes in CardView UltraWinGrid
posted

How can I be informed when the visible rows (cards) in a CardView changes? I have tried with AfterRowRegionScroll, but this is not raised when scrolling the cards.

I then would like to find the visible (and not visible) rows, in order to change a value depending on whether the cell is visible...

Thanks!

Parents
No Data
Reply
  • 360
    Suggested Answer
    posted

    Actually, there is an event:

    AfterCardsScroll(object sender, AfterCardsScrollEventArgs e)

    I can then use

    foreach (UltraGridRow row in grid.Rows)
                    {

                        if (e.Rows.IsCardVisible(row))

                                {//do stuff}

                    }

     

Children