PivotGridField.Caption Property
In This Article
Gets or sets the field's display caption. This is a dependency property.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
[XtraSerializableProperty]
[XtraSerializablePropertyId(1)]
public string Caption { get; set; }
#Property Value
Type | Description |
---|---|
String | A string specifying the field's display caption. |
#Remarks
Use the Caption property to specify the text displayed within the field's header.
If the Caption property is set to an empty string the field's header will display the value of the PivotGridField.FieldName property. If the PivotGridField.FieldName property is set to an empty string, the field's header will display the value of the field's Name property.
If the PivotGridField.ShowSummaryTypeName property is enabled, the field's summary type enclosed in round brackets is appended to the field's Caption.
See Also