Syncfusion.SfGrid.WPF
Example 


Name Property (GridSummaryColumn)

Gets or sets the name of summary column.
Syntax
'Declaration
 
Public Property Name As String
'Usage
 
Dim instance As GridSummaryColumn
Dim value As String
 
instance.Name = value
 
value = instance.Name
public string Name {get; set;}

Property Value

A string that specifies the name of the summary column. The default value is string.Empty.
Remarks
The name of the summary column and GridSummaryRow.Title should be same for displaying summary value with title.
Example
//Here, the Title and Name have the same ProductCount string.
   this.dataGrid.TableSummaryRows.Add(new GridSummaryRow()
   {
       Name="Total Products",
       ShowSummaryInRow = true,
       Title = "Total Products Count: {ProductCount}",
       SummaryColumns = new ObservableCollection<ISummaryColumn>()
       {
           new GridSummaryColumn()
           {
               Name="ProductCount",
               MappingName="ProductName",
               SummaryType=SummaryType.CountAggregate,
               Format="{Count:d}"
           },
       }
   });
AssemblyVersion

Syncfusion.SfGrid.WPF: 17.3460.0.26

See Also