Skip to main content

DxFormLayout.CaptionPosition Property

Specifies the caption position.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public CaptionPosition CaptionPosition { get; set; }

Property Value

Type Default Description
CaptionPosition Horizontal

A CaptionPosition enumeration value.

Available values:

Name Description

Displays the caption above the associated editor.


Displays the caption to the left of the item.


You can display the caption above an item (Vertical) or at its left (Horizontal). Use the item’s CaptionPosition property to position a single item. To specify the position for all captions in the Form Layout component, layout group, tab pages, tab page, or item, use the corresponding object’s CaptionPosition property. Individual settings have higher priority.

Vertical Caption Position

<DxFormLayout CaptionPosition="CaptionPosition.Vertical">
    <DxFormLayoutItem Caption="Location:" ColSpanMd="12">
      <DxTextBox />
    <DxFormLayoutItem Caption="Check in:" >
      <DxDateEdit Date="DateTime.Today" />
    <DxFormLayoutItem Caption="Check in:">
      <DxDateEdit Date="DateTime.Today.AddDays(5)" />

Run Demo: Form Layout - Caption Position

See Also