Skip to main content

PivotGridControl.DataFieldCaption Property

Specifies the text displayed within the data header.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public string DataFieldCaption { get; set; }

Property Value

Type Description
String

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

Remarks

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.

pivotgrid_dataheaderarea_column

Note

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