Tuesday, 15 April 2014

winforms - AutoScroll property in C# Windows Form only allowing Vertical Scroll Bar to work -


I'm trying to enable scroll bars for my windows form application. When I set the AutoScroll property to True, only the vertical scroll bar is visible and is working. Horizontal scroll bar is not showing at all I have panels within my form, but I'm not sure if this / how does it create a problem How can I work both scroll times?

If the control is inside a panel, and the panel dock style is set, the behavior of the autoscroll functionality Can Affect

To work correctly for both vertical and horizontal scroll bars, you need to set the dock style to the Dock Style.None has to do panel dock property.


No comments:

Post a Comment