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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

windows datagrid scrooling

Thread ID:





1045 Sep 17,2002 09:49 AM UTC Sep 17,2002 10:21 PM UTC WinForms 1
Tags: FAQ
Administrator [Syncfusion]
Asked On September 17, 2002 09:49 AM UTC

how can i cath windows datagrid's horizontal or vertical scrooling events?

Clay Burch [Syncfusion]
Replied On September 17, 2002 10:21 PM UTC

You can catch the DataGrid.Scroll event and then use GetChildAtPoint to identify which scrolbar it is.
private void dataGrid1_Scroll(object sender, System.EventArgs e)
	object o = this.dataGrid1.GetChildAtPoint(this.dataGrid1.PointToClient(Control.MousePosition));
	VScrollBar vScroll = o  as VScrollBar;
	if(vScroll != null)


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

Live Chat Icon For mobile
Live Chat Icon