Xceed DataGrid for WPF v7.2 Documentation
MultipleItemsFormat Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Export Namespace > GroupHeaderFormat Class : MultipleItemsFormat Property
Gets or sets the text displayed in group headers when a group contains multiple items.
Syntax
'Declaration
 
Public Property MultipleItemsFormat As String
'Usage
 
Dim instance As GroupHeaderFormat

Dim value As String

 

instance.MultipleItemsFormat = value

 

value = instance.MultipleItemsFormat
public string MultipleItemsFormat {get; set;}

Property Value

A string representing the text displayed in group headers when a group contains multiple items. By default, "{0}: {1} ({2} items)".
Remarks

The string can contain parameters that represent information about their corresponding group:

{0} represents the title or field name of the column by whose values the items are grouped. By default, the column's Title will be used (e.g., "Country"); however, if the UseFieldNamesInHeader property is set to true, the column's FieldName will be used (e.g., "ShipCountry").

{1} represents the value of the group (e.g., "Canada").

{2} represents the number of items in the group.

{3} represents a value indicating whether the group has child groups.

If set to null, group headers will not be displayed.

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

GroupHeaderFormat Class
GroupHeaderFormat Members