We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

First Visible Row

Thread ID:





115964 Mar 6,2014 12:15 PM UTC Mar 19,2014 05:34 AM UTC WPF 1
Tags: GridDataControl
Juraj Tomana
Asked On March 6, 2014 12:15 PM UTC


If I use vertical scrollbar, how can I find out index of first visible row?

See attached screenshot.


Attachment: frvis_ffcc874c.zip

Saravanan M [Syncfusion]
Replied On March 19, 2014 05:34 AM UTC

Hi Juraj,

 Apology for delay caused,

 We have analyzed your query. You can achieve your requirement by using ScrollLineIndex API in VScrollBar value changed event. Please refer the below code snippet.

 Code snippet[C#]:


void syncgrid_ModelLoaded(object sender, EventArgs e)


 this.syncgrid.Model.Grid.VScrollBar.ValueChanged += VScrollBar_ValueChanged;



void VScrollBar_ValueChanged(object sender, EventArgs e)


   var line = syncgrid.Model.Grid.ScrollRows.ScrollLineIndex;




 Please let us know if you have any queries,





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon