LayoutItemBase.HorizontalAlign Property
Gets or sets the current layout item’s horizontal alignment.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(FormLayoutHorizontalAlign.NotSet)]
public virtual FormLayoutHorizontalAlign HorizontalAlign { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| FormLayoutHorizontalAlign | NotSet | One of the FormLayoutHorizontalAlign enumeration values. |
Available values:
| Name | Description |
|---|---|
| Right | The element is displayed at the right of its parent container. |
| Left | The element is displayed at the left of its parent container. |
| Center | The element is displayed at the center of its parent container. |
| NotSet | The element horizontal alignment is not set. |
| NoSet | Obsolete. Obsolete. Use the NotSet field instead. |
See Also