Syncfusion.SfDataGrid.XForms
Example 
Syncfusion.SfDataGrid.XForms Namespace > SfDataGrid Class : CaptionSummaryTemplate Property

CaptionSummaryTemplate Property

Gets or sets the template that is used to display the contents of a group caption. By default, text will be displayed on group caption . However, when this property is set, SfDataGrid loads the template as the Content of the group caption.
Syntax
public Xamarin.Forms.DataTemplate CaptionSummaryTemplate {get; set;}

Property Value

The template that displays the contents of a group caption.
Remarks
SfDataGrid allows the user to customize the group caption with different type of views by setting Xamarin.Forms.DataTemplateSelector to the CaptionSummaryTemplate.
Example
<sfgrid:SfDataGrid.CaptionSummaryTemplate>
    <DataTemplate>
      <Label Text = "Template" 
             HorizontalTextAlignment = "Center" 
             VerticalTextAlignment = "Center" 
             />
    </DataTemplate>
</sfgrid:SfDataGrid.CaptionSummaryTemplate>
            
</sfgrid:SfDataGrid>
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.1451.0.38

See Also