Skip to main content
A newer version of this page is available. .

CaptionPosition Enum

Lists values that specify the caption position.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum CaptionPosition

Members

Name Description
Vertical

Displays the caption above the associated editor.

Horizontal

Displays the caption to the left of the item.

Related API Members

The following properties accept/return CaptionPosition values:

Remarks

The Form Layout provides the CaptionPosition property to specify where to display item captions: above the associated editor (Vertical) or at its left (Horizontal).

<DxFormLayout CaptionPosition="CaptionPosition.Vertical">
    <DxFormLayoutItem Caption="Location:" >
        ...
    </DxFormLayoutItem>
    <DxFormLayoutItem Caption="Check in:" >
        ...
    </DxFormLayoutItem>
</DxFormLayout>

Run Demo: Form Layout - Caption Position

See Also