Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Panel HorizontalAlign Property

ASP.NET Panel HorizontalAlign Property


Panel Control Panel control


Definition and Usage

The HorizontalAlign property is used to set or return the horizontal alignment of the content in the Panel control.

Syntax

Some Content

 

property Description
align Specifies the horizontal alignment of the content.

Possible values:

  • Center
  • Justify
  • Left
  • NotSet (Default)
  • Right
  • |

    Example

    The following example sets the HorizontalAlign property of a Panel control:

    Hello!

    Demo Example »


    Panel Control Panel control