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 Mobile Apps & Sites with ASP.NET.

 virtual property System::Web::UI::MobileControls::Alignment Alignment { System::Web::UI::MobileControls::Alignment get(); void set(System::Web::UI::MobileControls::Alignment value); };
public override System.Web.UI.MobileControls.Alignment Alignment { get; set; }
member this.Alignment : System.Web.UI.MobileControls.Alignment with get, set
Public Overrides Property Alignment As Alignment

Property Value

An enumerated value specifying the alignment for the style.



The Alignment property was accessed at run time.


An attempt was made to set the property.


For possible values, see Alignment.

Applies to

See also