Back to Devexpress

LayoutViewField.Text Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewfield-75144f9d.md

latest2.2 KB
Original Source

LayoutViewField.Text Property

Gets or sets the field’s caption.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
StringString.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

Caption

Column

FieldCaptionFormat

LayoutViewField Class

LayoutViewField Members

DevExpress.XtraGrid.Views.Layout Namespace