Skip to main content

LayoutViewField.Text Property

Gets or sets the field’s caption.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v23.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