Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.DataFieldCaption Property

Specifies the text displayed within the data header.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.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