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

Scroll Bar Arrow Pressed

Is it possible to figure out when the up or down scroll bar arrow has been pressed if the grid control is showing the first or last line, in other words, there is nothing more to show? Thanks

1 Reply

AD Administrator Syncfusion Team February 24, 2004 07:54 AM

There is a this.gridDataBoundGrid1.VScrollBar.Scroll event you can try to use.
private int lastValue = -1;
private void VScrollBar_Scroll(object sender, ScrollEventArgs e)
{
	if( lastValue == e.NewValue && Control.MouseButtons == MouseButtons.Left)
	{
		Console.WriteLine("No Move...");
	}
	lastValue = e.NewValue;
}

Loader.
Live Chat Icon For mobile
Up arrow icon