MobileControl::Alignment Property
.NET Framework (current version)
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 www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public: [BindableAttribute(true)] property Alignment Alignment { virtual Alignment get(); virtual void set(Alignment value); }
Property Value
Type: System.Web.UI.MobileControls::AlignmentAn 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. |
.NET Framework
Available since 1.1
Available since 1.1
Alignment
MobileControl Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Inside the ASP.NET Mobile Controls
Show: