c# - How to disable horizontal scrollbar for table panel in winforms -
Hello, I have a table layout panel and I keep it dynamically binding in control. When the item count is greater than the height of the panel, there is no problem if the vertical scroll bar is clearly visible.
But the horizontal scroll bar is also visible at the same time, even the width of the item is less than the width of the panel. How can I stop it?
int vertScrollWidth = SystemInformation.VerticalScrollBarWidth; TableLayoutPanel1.padding = new padding (0, 0, VertcrollView, 0);