Back to Devexpress

PivotCustomDrawFieldValueEventArgs.Value Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotcustomdrawfieldvalueeventargs-b06ca699.md

latest2.9 KB
Original Source

PivotCustomDrawFieldValueEventArgs.Value Property

Gets the value of the column field or row field which the currently processed column/row header corresponds to.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Property Value

TypeDescription
Object

An object which represents the value of the corresponding column field or row field.

|

Remarks

If the currently processed header is a field value or total header the Value property returns a value of the corresponding column field or row field. If the currently processed header is a grand total header the Value property will return null.

To determine the type of the currently processed header use the PivotCustomDrawFieldValueEventArgs.ValueType property.

Note

If you try to access the Value property while an asynchronous operation is being performed, an exception will be thrown. To determine whether the operation is in progress, use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property. For more information, see Asynchronous Mode.

See Also

DisplayText

PivotCustomDrawFieldValueEventArgs Class

PivotCustomDrawFieldValueEventArgs Members

DevExpress.XtraPivotGrid Namespace