Skip to main content

PivotGridControl.DataFieldCaption Property

Specifies the text displayed within the data header.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v23.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid


public string DataFieldCaption { get; set; }

Property Value

Type Description

A string which specifies the text displayed within the data header.


The default text displayed within the data header is ‘Data’. Use the DataFieldCaption property to modify this text. The following image illustrates the data header displayed within the column header area.



Note that the DataFieldCaption property does not return the default ‘Data’ value. To obtain the default value, pass the PivotGridStringId.DataFieldCaption localized string to the PivotGridLocalizer.GetString method.

See Also