mobilecontrols-devexpress-dot-xamarinforms-dot-datagrid-dot-datagridview-4e8bc7b3.md
Gets or sets the template that defines the visual representation of group rows.
Namespace : DevExpress.XamarinForms.DataGrid
Assembly : DevExpress.XamarinForms.Grid.dll
NuGet Package : DevExpress.XamarinForms.Grid
public DataTemplate GroupRowTemplate { get; set; }
| Type | Description |
|---|---|
| DataTemplate |
A template for group rows.
|
When data is grouped, the grid displays group rows to separate groups of data rows. End users can tap group rows to expand and collapse groups.
A group row displays the following elements:
The GroupRowTemplate property allows you to define a custom template that would replace the default visual structure of group rows. You can also specify a separate template for a group row caption (in the default structure, it is shown at the left side of the group row, and includes column caption and data value) and group summary. To do this, use the GridColumn.GroupCaptionTemplate, DataGridView.GroupCaptionTemplate and DataGridView.GroupSummaryTemplate properties. The GroupRowData class specifies the binding context for these templates.
See Also