How to Programmatically Scroll a Panel

后端 未结 7 2012
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 06:57

I have a System.Windows.Forms.Panel with some content.

I am trying to programmatically scroll the panel (vertically) either up or down.

I have t

相关标签:
7条回答
  • 2020-11-29 07:30

    Try this:- panel.ScrollControlIntoView(childcontrol);

    This should work. childcontrol is the particular control that you want to show in your display area.

    0 讨论(0)
提交回复
热议问题