System.Web.UI.WebControls.PanelStyle.ScrollBars Property

Gets or sets the visibility and position of scroll bars in a panel control.

Syntax

public virtual ScrollBars ScrollBars { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The PanelStyle.ScrollBars property specifies the visibility and position of scroll bars in a panel control.

The PanelStyle.ScrollBars 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.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0