EditorCaptionSettingsBase.HorizontalAlign Property
Gets or sets the horizontal alignment of an editor’s caption.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(EditorCaptionHorizontalAlign.NotSet)]
public EditorCaptionHorizontalAlign HorizontalAlign { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Editor |
Not |
One of the Editor |
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. |
Not |
The element horizontal alignment is not set. |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Horizontal |
---|---|---|
ASP. |
MVCx |
|
MVCx |
|
|
ASP. |
ASPx |
|
ASPx |
|
#Remarks
Use the HorizontalAlign and EditorCaptionSettingsBase.VerticalAlign properties to specify the horizontal and vertical alignments of an editor’s caption.