GridMenuItemClickEventArgs.SummaryType Property

Gets the summary type which is about to be applied.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public SummaryItemType SummaryType { get; set; }
Public Property SummaryType As SummaryItemType

Property Value

Type Description
SummaryItemType

A SummaryItemType enumeration value representing the summary item type.

Remarks

The SummaryType property returns a valid value only if a footer cell menu item was clicked. If clicking an item of a column header or group panel menu, the SummaryType property value returns SummaryItemType.Custom.

The SummaryType property corresponds to a summary item's GridSummaryItem.SummaryType property. It specifies the type of the aggregate function applied to column values. You can change the SummaryType property's value to override the summary type selected by the end-user. Note that in this case you will also need to update the GridMenuItemClickEventArgs.SummaryFormat property value.

See Also