Specifies the visibility and position of scroll bars in a System.Web.UI.WebControls.Panel control.
The System.Web.UI.WebControls.ScrollBars enumeration represents the visibility and position of the scroll bars in a System.Web.UI.WebControls.Panel control. The Panel.ScrollBars property uses these enumeration values to specify the type of scroll bars to display in a System.Web.UI.WebControls.Panel control. The default value for the Panel.ScrollBars property is None, indicating that no scroll bars are shown.
If you specify Auto for the Panel.ScrollBars property, scroll bars are automatically shown when the size of the content in a System.Web.UI.WebControls.Panel control exceeds the size of the System.Web.UI.WebControls.Panel control. For example, if a System.Web.UI.WebControls.Panel control contains a table, and the panel is not wide enough to display all the rows in the table, a vertical scroll bar is shown. If the size of the table exceeds the height and width of the panel, both vertical and horizontal scroll bars are shown.