PivotGridControl.DataFieldCaption Property

Specifies the text displayed within the data header.

Namespace: DevExpress.Xpf.PivotGrid

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

Declaration

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

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