CustomSummaryExistEventArgs Class

Provides data for the GridControl.CustomSummaryExists event.

Namespace: DevExpress.Data

Assembly: DevExpress.Core.v18.1.dll

Declaration

public class CustomSummaryExistEventArgs :
    EventArgs
Public Class CustomSummaryExistEventArgs
    Inherits EventArgs

The GridControl.CustomSummaryExists event allows you to prevent certain summaries from being calculated and displayed. Thus, it is raised when a total summary is about to be calculated or when a group summary is about to be calculated for a particular group. Summary kind can be determined using the CustomSummaryExistEventArgs.IsTotalSummary and CustomSummaryExistEventArgs.IsGroupSummary properties of the event argument (a CustomSummaryExistEventArgs object). When processing a group summary, the group whose summary value is about to be calculated can be identified using the CustomSummaryExistEventArgs.GroupRowHandle property. To prevent summary value calculations, set the CustomSummaryExistEventArgs.Exists property to false.

Use the CustomSummaryExistEventArgs.Item property to access the summary item providing summary calculation settings.

Inheritance

Object
CustomSummaryExistEventArgs

See Also