Skip to main content
A newer version of this page is available. .

PivotSummaryValue.Tag Property

Gets or sets custom data for the current PivotSummaryValue object.

Namespace: DevExpress.Data.PivotGrid

Assembly: DevExpress.PivotGrid.v18.2.Core.dll

Declaration

public object Tag { get; set; }

Property Value

Type Description
Object

An object that represents custom data for the current PivotSummaryValue object.

Remarks

For example, you can use the Tag property as follows. Suppose you handle the PivotGridControl.CustomSummary and PivotGridControl.CustomCellDisplayText events for a PivotGrid control. The CustomCellDisplayText event fires after the CustomSummary event. So, you can assign custom data to the Tag property when handling the CustomSummary event, and then access this value when handling the CustomCellDisplayText event.

Note

Specific Data Fields can be bound to the same field in the data source. When processing cells corresponding to these data fields, the same PivotSummaryValue object will be passed to the PivotGrid control events. The Tag property’s value will be the same for different data fields. However, the PivotSummaryValue.CustomValue values will be different for different data fields.

See Also