How to Programmatically Scroll a Panel

后端 未结 7 2050
隐瞒了意图╮
隐瞒了意图╮ 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.

提交回复
热议问题