Represents the style for a System.Web.UI.WebControls.Panel control.
See Also: PanelStyle Members
The System.Web.UI.WebControls.PanelStyle class is used to represent the style settings for a panel control. It encapsulates the properties that control the appearance of a panel and can be applied to multiple panel controls to provide a common appearance.
You can specify an image to display in the background of the panel by setting the PanelStyle.BackImageUrl property. The horizontal alignment of the contents of the panel is indicated by the PanelStyle.HorizontalAlign property. The direction of controls that contain text within the panel control can be specified by setting the PanelStyle.Direction property.