DxFormLayoutBase.CaptionPosition Property

Specifies the caption position.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.dll

Declaration

[Parameter]
public CaptionPosition CaptionPosition { get; set; }

Property Value

Type Description
CaptionPosition

One of the enumeration 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>

Online Demo

Form Layout - Caption Position

See Also