EditorCaptionSettingsBase.HorizontalAlign Property
Gets or sets the horizontal alignment of an editor’s caption.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
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:
Remarks
Use the HorizontalAlign and EditorCaptionSettingsBase.VerticalAlign properties to specify the horizontal and vertical alignments of an editor’s caption.
See Also