Specifies the alignment of a rendered object. This class cannot be inherited.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
The enumeration represents the horizontal positioning of an item on its parent container, such as a panel or form. For example, if you add an image to a form, you can set its horizontal position to align with the right side of the form.
Although you can use the bit values in scripting languages, you cannot use them with ASP.NET. For example, Alignment = "2" within a panel tag is not a valid statement. However, in Visual C#, you can use this.myPanel.Alignment = 2.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.