I\'ve got a chunk of C# code that is supposed to set VerticalScroll.Value within a class that inherits from UserControl. It gets called when any child object of the class c
In my case it was necessary to set the VerticalScroll.Value to a different value and then to the value of interest, e.g.
this.panel1.VerticalScroll.Value = verticalScrollPosition - 1;
this.panel1.VerticalScroll.Value = verticalScrollPosition;
Take care that the scroll position is always between VerticalScroll.Minimum and VerticalScroll.Maximum.