PivotGridCustomTotalBase.GetValueText(Object) Method

Returns the formatted text representation of the specified value according to the settings used to represent the headers of the current custom total.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.1.Core.dll

Declaration

public string GetValueText(
    object value
)
Public Function GetValueText(
    value As Object
) As String

Parameters

Name Type Description
value Object

An object which identifies the value to format.

Returns

Type Description
String

A string which is the formatted text representation of the specified value.

Remarks

The GetValueText method is called internally to format the text displayed within the headers of custom totals. You can also use this method to get the text representation of values when custom painting total values via the PivotGridControl.CustomDrawFieldValue event.

The GetValueText method formats the specified value according to the settings of the PivotGridCustomTotalBase.Format property.

See Also