CustomDrawFooterCellEventArgs.ItemType Property
Gets the type of summary whose value is displayed within the painted cell.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v25.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Property Value
| Type | Description |
|---|---|
| SummaryItemType | A SummaryItemType enumeration value specifying the type of summary whose value is displayed within the painted cell. |
Available values:
| Name | Description |
|---|---|
| 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.