method Element.EnsureVisible ()
Scrolls the surface to ensure that the current element fits the control's visible area.

TypeDescription
The EnsureVisible method scrolls the surface to ensure that the current element fits the control's visible area. The ScrollTo method ensures that the element fits the surface's visible area. The control's ScrollPos, ScrollX and ScrollY properties specify the surface's scroll position.