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

LayoutView.FieldCaptionFormat Property

Gets or sets the pattern used to generate field captions.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v19.1.dll


public string FieldCaptionFormat { get; set; }

Property Value

Type Default Description


A string that represents the pattern used to generate field captions.


Field captions in LayoutViews are generated according to the pattern specified by the FieldCaptionFormat property. In this pattern, the {0} placeholder represents the current field’s caption. To get the actual display captions, use the LayoutView.GetFieldCaption method. It returns field display captions generated according to the FieldCaptionFormat property.

The default pattern (“{0}:”) means that field captions are followed by the colon characters.

See Also