System.Web.UI.MobileControls (system.web.mobile.dll) | enum |
The Alignment enumeration is used to set the
horizontal positioning of an item on its parent container, such as a
panel or form. Every mobile control supports this option through the
base MobileControl.Alignment property. For
example, you can use this property to set an image so it aligns to
the right side of a form. If you use the value
NotSet the alignment is inherited from the
control's style or, if the style is not defined,
from the control's parent control.
public enum Alignment {
NotSet = 0,
Left = 1,
Center = 2,
Right = 3
}
Hierarchy
System.Object
System.ValueType
System.Enum(System.IComparable,
System.IFormattable,
System.IConvertible)
Alignment
Returned By
MobileControl.Alignment,
Style.Alignment
Passed To
MobileControl.Alignment,
Style.Alignment
|