This example displays total summaries specified in XAML and demonstrates how to define summaries in code.
- Create a GridSummaryItem object and specify its properties.
- Add this object to the GridControl.TotalSummary collection.
- Specify the DataViewBase.TotalSummaryPosition property to display the Summary Panel. For the Fixed Summary Panel, use the DataViewBase.ShowFixedTotalSummary property.
- Window1.xaml (VB: Window1.xaml)
- Window1.xaml.cs (VB: Window1.xaml.vb)
- Total Summary
- GridControl.TotalSummary
- Data Summaries
- Bind the Grid to Total and Group Summaries Specified in ViewModel
- WPF Data Grid - How to Display Group Summaries
- WPF Data Grid - How to Use Custom Summaries
- Bind the WPF GridControl to Total and Group Summaries Specified in ViewModel
(you will be redirected to DevExpress.com to submit your response)