EditorCaptionSettingsBase.HorizontalAlign Property
Gets or sets the horizontal alignment of an editor’s caption.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
[DefaultValue(EditorCaptionHorizontalAlign.NotSet)]
public EditorCaptionHorizontalAlign HorizontalAlign { get; set; }
Property Value
Type | Default | Description |
---|---|---|
EditorCaptionHorizontalAlign | NotSet | One of the EditorCaptionHorizontalAlign 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. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to HorizontalAlign |
---|---|---|
ASP.NET MVC Extensions | MVCxImageEditProperties |
|
MVCxProgressBarProperties |
|
|
ASP.NET Web Forms Controls | ASPxProgressBar |
|
ASPxStaticEdit |
|
Remarks
Use the HorizontalAlign and EditorCaptionSettingsBase.VerticalAlign properties to specify the horizontal and vertical alignments of an editor’s caption.
See Also