See Also: Panel Members
In this topic:
The System.Web.UI.WebControls.Panel control is a container for other controls. It is especially useful when you want to generate controls programmatically, hide/show a group of controls, or localize a group of controls.
The Panel.Direction property is useful for localizing a System.Web.UI.WebControls.Panel control's content to display text for languages that are written from right to left, such as Arabic or Hebrew.
The System.Web.UI.WebControls.Panel control provides several properties that allow you to customize the behavior and display of its contents. Use the Panel.BackImageUrl property to display a custom image for the System.Web.UI.WebControls.Panel control. Use the Panel.ScrollBars property to specify scroll bars for the control.
Example
<asp:Panel AccessKey="string" BackColor="color name|#dddddd" BackImageUrl="uri" BorderColor="color name|#dddddd" BorderStyle="