This project is read-only.

Scrolling to end

May 3, 2013 at 11:51 AM
How can I programmatically scroll the HtmlPanel to the beginning/to the end?

May 5, 2013 at 8:17 AM
Set vertical scroll to top and horizontal to left:
_htmlPanel.AutoScrollPosition = new Point(_htmlPanel.HorizontalScroll.Minimum, _htmlPanel.VerticalScroll.Minimum);

Set vertical to bottom and horizontal to right:
_htmlPanel.AutoScrollPosition = new Point(_htmlPanel.HorizontalScroll.Maximum - _htmlPanel.HorizontalScroll.LargeChange, _htmlPanel.VerticalScroll.Maximum - _htmlPanel.VerticalScroll.LargeChange);
Marked as answer by ArthurTep on 3/10/2014 at 1:18 AM