Syncfusion.PivotAnalysis.Windows
Example 


PivotCalculations Property (PivotGridControl)

Syntax
'Declaration
 
<XmlIgnoreAttribute()>
<BrowsableAttribute(False)>
<CategoryAttribute("Pivot")>
Public ReadOnly Property PivotCalculations As ObservableCollection(Of PivotComputationInfo)
'Usage
 
Dim instance As PivotGridControl
Dim value As ObservableCollection(Of PivotComputationInfo)
 
value = instance.PivotCalculations
[XmlIgnore()]
[Browsable(false)]
[Category("Pivot")]
public ObservableCollection<PivotComputationInfo> PivotCalculations {get;}
Example
This example shows how to use the PivotCalculations property.
// Adding PivotCalculations to the pivot grid.
this.pivotGridControl1.PivotCalculations.Add(new PivotComputationInfo { FieldName = "Amount", Format = "#,##0", SummaryType = SummaryType.DoubleTotalSum});
' Adding PivotCalculations to the pivot grid.
Me.pivotGridControl1.PivotCalculations.Add(New PivotComputationInfo With {.FieldName = "Amount", .Format = "#,##0", .SummaryType = SummaryType.DoubleTotalSum})
AssemblyVersion

Syncfusion.PivotAnalysis.Windows: 17.4460.0.39

See Also