Click here to Skip to main content
15,073,344 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a panel on my windows form on which i am drawing shapes that are going beyond the panel so i want to add a scroll bar. what should i do?????????????????

What I have tried:

i have set the autoScroll=true in properties of panel
Updated 14-May-16 16:15pm

1 solution

To understand how scrolling works on Panel, you have to pay attention for the functionality of its base class System.Windows.Forms.ScrollableControl:
ScrollableControl Class (System.Windows.Forms)[^].

I think everything is well explained in the section "Remarks".


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900