Xceed DataGrid for WPF v7.3 Documentation
GenerateGroupHeaderValue Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Export Namespace > ExcelExporterBase Class : GenerateGroupHeaderValue Method
Identifies the group's exportation context.
Identifies the group.
Identifies the group's level description.
 Sets the field's name.
Sets the title.
Sets the value that will be used for the group's header.
Syntax
'Declaration
 
Protected Function GenerateGroupHeaderValue( _
   ByVal exportContext As ExportContext, _
   ByVal group As CollectionViewGroup, _
   ByVal groupLevelDescription As GroupLevelDescription, _
   ByVal fieldName As String, _
   ByVal title As String _
) As String
'Usage
 
Dim instance As ExcelExporterBase
Dim exportContext As ExportContext
Dim group As CollectionViewGroup
Dim groupLevelDescription As GroupLevelDescription
Dim fieldName As String
Dim title As String
Dim value As String
 
value = instance.GenerateGroupHeaderValue(exportContext, group, groupLevelDescription, fieldName, title)
protected string GenerateGroupHeaderValue( 
   ExportContext exportContext,
   CollectionViewGroup group,
   GroupLevelDescription groupLevelDescription,
   string fieldName,
   string title
)

Parameters

exportContext
Identifies the group's exportation context.
group
Identifies the group.
groupLevelDescription
Identifies the group's level description.
fieldName
 Sets the field's name.
title
Sets the title.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ExcelExporterBase Class
ExcelExporterBase Members