Skip to main content

PivotSummaryValue.Tag Property

Gets or sets custom data for the current PivotSummaryValue object.

Namespace: DevExpress.Data.PivotGrid

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public object Tag { get; set; }

Property Value

Type Description

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


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.


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