Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutViewField.Text Property

Gets or sets the field’s caption.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DefaultValue("")]
[DXCategory("Appearance")]
public override string Text { get; set; }

#Property Value

Type Default Description
String String.Empty

A string that specifies the field’s caption.

#Remarks

This property is synchronized with a corresponding column’s GridColumn.Caption property. To access this column object, see the LayoutViewField.Column property.

In a Layout View, the actual display field captions are generated according to the pattern specified by the LayoutView.FieldCaptionFormat property.

See Also