CaptionPosition Enum

Lists values that specify the caption position.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public enum CaptionPosition

Members

Name Description
Horizontal

Displays the caption to the left of the item.

Vertical

Displays the caption above the associated editor.

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>

Online Demo

Form Layout - Caption Position

See Also