A Panel control is a container control that can contain other controls. It renders as an HTML <Div> element on the client. The Panel control is useful for manipulating a group of controls together. For instance you can control the visibility of the controls of a panel by controlling the visibility of the panel.
Table lists all the properties of the Panel control. This control has no methods, or events.
Property | Description |
---|---|
BackImageURL | Gets or sets the URL of a background image to be displayed behind the contents of the panel. |
HorizontalAlign | Sets horizontal alignment of the panel contents. Possible values are Center, Justify, Left, NotSet, Right. |
Wrap | When True, wraps the panel contents. |
In this example, depending upon the user selection, one of two panels is displayed.