Skip to main content

GridControl.CustomSummaryExists Event

Enables you to specify which summaries should be calculated and displayed.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.dll

#Declaration

public event CustomSummaryExistEventHandler CustomSummaryExists

#Event Data

The CustomSummaryExists event's handler receives an argument of the CustomSummaryExistEventArgs type. The following properties provide information specific to this event:

Property Description
Exists Gets or sets whether the summary value should be calculated and displayed.
GroupLevel Gets the nesting level of a group row whose summary value is being calculated.
GroupRowHandle Gets the handle of a group row whose summary value is calculated.
IsGroupSummary Gets whether a group summary value is calculated.
IsTotalSummary Gets whether a total summary value is calculated.
Item Gets a summary item whose value is calculated.

#Remarks

The event is raised before a particular summary value is calculated, allowing cancellation of the calculation. To cancel summary value calculation, set the event parameter's CustomSummaryExistEventArgs.Exists parameter to false.

See Also