How can I apply a horizontal scroll bar to a Panel?
I'm working on 2d tiled map editor and I'm using a Panel to hold the contents. When my map is bigger than my panel it just goes off and becomes invisible, would it be possible to apply custom scroll bars?
While this no longer applies as the question has been clarified to target winforms, in Web Forms you can set the ScrollBars property to ScrollBars.Horizontal.
The
Panel
is derived fromScrollableControl
. So there is a propertyAutoScroll
. Just set it totrue
and the rest will be done automagically.