Gets or sets the visibility and position of scroll bars in a System.Web.UI.WebControls.Panel control.
Documentation for this section has not yet been entered.
Use the Panel.ScrollBars property to specify the visibility and position of scroll bars in a System.Web.UI.WebControls.Panel control. This property is set using one of the System.Web.UI.WebControls.ScrollBars enumeration values. The following table lists the possible values.
None |
No scroll bars are shown. |
Horizontal |
Only a horizontal scroll bar is shown. |
Vertical |
Only a vertical scroll bar is shown. |
Both |
Both horizontal and vertical scroll bars are shown. |
Auto |
If necessary, horizontal, vertical, or both scroll bars are shown. Otherwise, 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 itself. 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.
This property is supported only on browsers that support HTML 4.0 or later.