LayoutViewField.Text Property

Gets or sets the field's caption.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue("")]
public override string Text { get; set; }
<DXCategory("Appearance")>
<DefaultValue("")>
Public Overrides Property Text As String

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