wpf-devexpress-dot-xpf-dot-pivotgrid-dot-cellelementdata-7ff6755d.md
Gets the value of the cell.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public override object Value { get; }
Public Overrides ReadOnly Property Value As Object
| Type | Description |
|---|---|
| Object |
The 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.
if(edit.EditValue != null && decimal.TryParse(edit.EditValue.ToString(), out newValue)) {
if (item.Value == null || !decimal.TryParse(item.Value.ToString(), out oldValue))
{
If edit.EditValue IsNot Nothing AndAlso Decimal.TryParse(edit.EditValue.ToString(), newValue) Then
If item.Value Is Nothing OrElse Not Decimal.TryParse(item.Value.ToString(), oldValue) Then
edit.EditValue = Nothing
See Also