Back to Devexpress

IThreadSafeField.SummaryType Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-ithreadsafefield.md

latest4.2 KB
Original Source

IThreadSafeField.SummaryType Property

Gets the type of the summary function which is calculated against the current data field.

Namespace : DevExpress.XtraPivotGrid

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
PivotSummaryType SummaryType { get; }
vb
ReadOnly Property SummaryType As PivotSummaryType

Property Value

TypeDescription
PivotSummaryType

A PivotSummaryType enumeration value that specifies the summary function type which is calculated against the current field.

|

Available values:

Show 13 items

NameDescription
Count

The number of values (excluding Null and DBNull values).

| | Sum |

The sum of the values.

| | Min |

The smallest value.

| | Max |

The largest value.

| | Average |

The average of the values.

| | StdDev |

An estimate of the standard deviation of a population, where the sample is a subset of the entire population.

| | StdDevp |

The standard deviation of a population, where the population is all of the data to be summarized.

| | Var |

An estimate of the variance of a population, where the sample is a subset of the entire population.

| | Varp |

The variance of a population, where the population is all of the data to be summarized.

| | Custom |

Specifies whether calculations should be performed manually, by handling the CustomSummary event.

Not supported in OLAP and server mode.

| | CountDistinct |

The number of distinct values. This function works only in the Optimized mode.

| | Median |

The median of the values. A median is the number separating the higher half of a value range from the lower half. This function works only in the Optimized mode.

| | Mode |

The mode of the values. A mode is the value that is repeated more often than any other. This function works only in the Optimized mode.

|

Remarks

The SummaryType property provides thread-safe access to the field’s PivotGridFieldBase.SummaryType property. To learn more, see PivotGridFieldBase.SummaryType.

Use the SummaryType property when handling events in asynchronous mode. For more information, see Asynchronous Mode.

See Also

SummaryType

IThreadSafeField Interface

IThreadSafeField Members

DevExpress.XtraPivotGrid Namespace