Gets or sets the horizontal alignment of the contents within the panel.
Assembly: System.Web (in System.Web.dll)
Legacy Code Example
The following example illustrates how to right-align or left-align the controls within the Panel.
The following code sample uses the single-file code model and may not work correctly if copied directly into a code-behind file. This code sample must be copied into an empty text file that has an .aspx extension. For more information on the Web Forms code model, see ASP.NET Web Forms Page Code Model.
Available since 1.1