StyleSheet.Alignment Property


Gets or sets the specified alignment for the style. The default value is NotSet. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public override Alignment Alignment { get; set; }

Property Value

Type: System.Web.UI.MobileControls.Alignment

An enumerated value specifying the alignment for the style.

Exception Condition

The Alignment property was accessed at run time.


An attempt was made to set the property.

For possible values, see Alignment.

.NET Framework
Available since 1.1
Return to top