Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 VB.NET 2008 的面板中设置水平和垂直滚动条的最大范围?
将 Panel 的 AutoScroll 属性设置为 True。这可确保面板自动调整滚动条以保持面板内的所有控件可见。您可以通过设置 AutoScrollMinSize 属性来覆盖此行为,以防您不使用控件或希望在远端留有边距。