Skip to main content
Tab

GridColumnEditFormSettings.CaptionLocation Property

Gets or sets the location of the edit cell’s caption.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(ASPxColumnCaptionLocation.Default)]
public ASPxColumnCaptionLocation CaptionLocation { get; set; }

Property Value

Type Default Description
ASPxColumnCaptionLocation Default

An ASPxColumnCaptionLocation enumeration value that specifies the caption’s location.

Available values:

Name Description
Default

The caption is displayed next to the editor.

Near

The caption is displayed next to the editor.

CaptionLocation_Near

Top

The caption is located along the top of the edit cell.

CaptionLocation_Top

None

The caption is hidden.

Property Paths

You can access this nested property as listed below:

Object Type Path to CaptionLocation
GridViewDataColumn
.EditFormSettings .CaptionLocation

Remarks

An Edit Cell displays the name of the column to which it corresponds. Use the CaptionLocation property to specify the caption’s location.

If the CaptionLocation property is set to Default and the GridColumnEditFormSettings.RowSpan property is set to 1, the caption is displayed next to the editor. Otherwise, if the GridColumnEditFormSettings.RowSpan is set to 2 or greater, the caption is located along the top of the edit cell.

See Also