private void OnScrollVChanged(object sender, EventArgs e)
{
// Update viewport with the new scroll offset
Viewport.SetOffsetV(ScrollbarV.ScrollPosition);
// Must generate another layout
if (_needPaintDelegate != null)
{
// Request a layout be performed immediately
NeedPaint(true);
// Make sure the child control is redraw to keep in sync with new scroll position
ViewControl.ChildControl.Refresh();
}
}