Back to Devexpress

PivotGridControl.DataFieldCaption Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-a7972286.md

latest2.0 KB
Original Source

PivotGridControl.DataFieldCaption Property

Specifies the text displayed within the data header.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public string DataFieldCaption { get; set; }
vb
Public Property DataFieldCaption As String

Property Value

TypeDescription
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.

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

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace