Back to Devexpress

PivotCellValueEventArgs.Value Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcellvalueeventargs.md

latest2.3 KB
Original Source

PivotCellValueEventArgs.Value Property

Gets or sets the processed cell’s value.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public object Value { get; set; }
vb
Public Property Value As Object

Property Value

TypeDescription
Object

An object which represents the processed cell’s value.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pivotgrid-hide-column-totals/CS/HowToBindToMDB/MainWindow.xaml.cs#L44

csharp
&& e.DataField == fieldDiscount)
        e.Value = null;
}

wpf-pivotgrid-hide-column-totals/VB/HowToBindToMDB/MainWindow.xaml.vb#L38

vb
If e.ColumnValueType = FieldValueType.GrandTotal AndAlso e.DataField Is fieldDiscount Then
    e.Value = Nothing
End If

See Also

PivotCellValueEventArgs Class

PivotCellValueEventArgs Members

DevExpress.Xpf.PivotGrid Namespace