C# winform Panel 添加 滚动条

2021-05-30 21:18

阅读:395

标签:ane   get   max   targe   detail   ret   scroll   lse   nbsp   

Detailed discussion here.

 

Try this instead for ‘only‘ scrolling vertical.
(auto scroll needs to be false before it will accept changes)

mypanel.AutoScroll = false;
mypanel.HorizontalScroll.Enabled = false;
mypanel.HorizontalScroll.Visible = false;
mypanel.HorizontalScroll.Maximum = 0;
mypanel.AutoScroll = true;

C# winform Panel 添加 滚动条

标签:ane   get   max   targe   detail   ret   scroll   lse   nbsp   

原文地址:https://www.cnblogs.com/z45281625/p/11038120.html


评论


亲,登录后才可以留言!