Back to Devexpress

CustomSummaryExistEventArgs Class

corelibraries-devexpress-dot-data-443ea854.md

latest2.9 KB
Original Source

CustomSummaryExistEventArgs Class

Provides data for the GridView.CustomSummaryExists event.

Namespace : DevExpress.Data

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public class CustomSummaryExistEventArgs :
    EventArgs
vb
Public Class CustomSummaryExistEventArgs
    Inherits EventArgs

CustomSummaryExistEventArgs is the data class for the following events:

LibraryRelated API Members
WinForms ControlsGridView.CustomSummaryExists
WPF ControlsGridControl.CustomSummaryExists

Remarks

The GridView.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.

Note : use the CustomSummaryExistEventArgs.Item property to access the summary item providing summary calculation settings.

CustomSummaryExistEventArgs objects are automatically created and passed to GridView.CustomSummaryExists event handlers.

Inheritance

Object EventArgs CustomSummaryExistEventArgs

See Also

CustomSummaryExistEventArgs Members

DevExpress.Data Namespace