c# - Panel AutoScroll position setting -


how set autoscrollposition bottom position?

i tried

panel.autoscrollposition = new point(0, panel.height); 

but didn't work.

you can use panel's verticalscroll.maximum-property:

panel.autoscrollposition = new point(     math.abs(panel.autoscrollposition.x),      panel.verticalscroll.maximum); 

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -