property XMLGrid.ScrollPos(Vertical as Boolean) as Long
Specifies the vertical/horizontal scroll position.

TypeDescription
Vertical as Boolean A Boolean expression that specifies the Vertical ( True ) or Horizontal ( False ) scroll bar of the control.
Long A Long expression that indicates the control's scroll bar position.
The ScrollPos property specifies the vertical/horizontal scroll position. Use the ScrollPos property to determine or change the control's scroll position. The Layout property can be used to save and restore the control's layout which includes: scrolling position, selected nodes, expanded nodes, and so on. The ScrollBars property shows or hides the control's scroll bars. Use the ScrollPartVisible property to add or remove buttons/parts in the control's scrollbar.