corelibraries-devexpress-dot-data-dot-customsummaryexisteventargs.md
Gets or sets whether the summary value should be calculated and displayed.
Namespace : DevExpress.Data
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public virtual bool Exists { get; set; }
Public Overridable Property Exists As Boolean
| Type | Description |
|---|---|
| Boolean |
true to calculate and display the summary value; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Exists property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-data-grid-display-group-summaries/CS/DisplayGroupSummaries_CodeBehind/MainWindow.xaml.cs#L63
void OnCustomSummaryExists(object sender, CustomSummaryExistEventArgs e) {
e.Exists = e.GroupLevel == 0;
}
wpf-data-grid-display-group-summaries/VB/DisplayGroupSummaries_CodeBehind/MainWindow.xaml.vb#L38
Private Sub OnCustomSummaryExists(ByVal sender As Object, ByVal e As CustomSummaryExistEventArgs)
e.Exists = e.GroupLevel = 0
End Sub
See Also
CustomSummaryExistEventArgs Class