Back to Devexpress

CustomDrawFooterCellEventArgs.ItemType Property

windowsforms-devexpress-dot-xtratreelist-dot-customdrawfootercelleventargs-c53465b9.md

latest2.7 KB
Original Source

CustomDrawFooterCellEventArgs.ItemType Property

Gets the type of summary whose value is displayed within the painted cell.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public SummaryItemType ItemType { get; }
vb
Public ReadOnly Property ItemType As SummaryItemType

Property Value

TypeDescription
SummaryItemType

A SummaryItemType enumeration value specifying the type of summary whose value is displayed within the painted cell.

|

Available values:

NameDescription
Sum

Calculates the sum of field values within a group of column cells.

| | Min |

Retrieves the minimum value within a group of column cells.

| | Max |

Retrieves the maximum value within a group of column cells.

| | Count |

Calculates the number of nodes within a group of column cells.

| | Average |

Calculates the average field value within a group of column cells.

| | Custom |

Allows a user to define a custom summary value by handling the TreeList.GetCustomSummaryValue event.

| | None |

Summary is not calculated.

|

Remarks

Footer cells are designed to display resulting values of summaries applied to column values. The type of summary calculated for a given column is specified by the TreeListColumn.SummaryFooter property of the column. This property value is returned by the ItemType property.

See Also

Text

Column

Handled

CustomDrawFooterCellEventArgs Class

CustomDrawFooterCellEventArgs Members

DevExpress.XtraTreeList Namespace