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 12:54 PM UTC

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.
Up arrow icon