Style.Alignment Property

Definition

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.

public:
 property System::Web::UI::MobileControls::Alignment Alignment { System::Web::UI::MobileControls::Alignment get(); void set(System::Web::UI::MobileControls::Alignment value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.MobileControls.Alignment Alignment { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Alignment : System.Web.UI.MobileControls.Alignment with get, set
Public Property Alignment As Alignment

Property Value

An enumerated value representing the specified alignment for the style.

Attributes

Remarks

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

Value Description
Alignment.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