 ---------------------------------------------------
|                                                   |
| Centered Row                                      |
|                                                   |
| iGrid.NET 1.60 Extra Samples                      |
| Copyright (c) 10Tec Company                       |
| All rights reserved                               |
|                                                   |
| Environment: .NET Framework 1.1, VS2003           |
|                                                   |
 ---------------------------------------------------
 

Description:
============
In this example you can see how to deal with the scroll bar value in iGrid.NET 
and what value to assign to it to show a particular row in a particular position 
on the screen.

Short Code Explanation:
=======================
You can manually change the current position of the both vertical and horizontal 
scroll bars. The vertical and horizontal scroll bars in iGrid.NET are 
represented with the VScrollBar and HScrollBar properties respectively. An 
object returned by these properties has the Value property which specifies the 
current position of a scroll bar. The value of this property is measured in 
pixels. For the vertical scroll bar, the scroll bar value is the height of the 
rows that are located above the visible cells area or in other words it is the 
distance between the top edge of cells area and the top edge of the first row in 
the grid. If you want to move a particular row to the top of the cells area, you 
should add the difference between the rows Y coordinate and the cells areas Y 
coordinate to the vertical scroll bar value.