MobileControl.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 virtual System.Web.UI.MobileControls.Alignment Alignment { get; set; }
member this.Alignment : System.Web.UI.MobileControls.Alignment with get, set
Public Overridable Property Alignment As Alignment

Property Value


An enumerated value specifying the alignment for the style.



The Alignment property can be set to any of the following values.

Value Description
NotSet No alignment is set for the specified object.
Alignment.Left Aligns to the left.
Alignment.Center Aligns to the center.
Alignment.Right Aligns to the right.

Applies to

See also