Skip to main content
A newer version of this page is available. .

LayoutViewField.Text Property

Gets or sets the field’s caption.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue("")]
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