DxSummaryItemBase<TModel>.Name Property

Specifies the summary item’s name.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue("")]
public string Name { get; set; }

Property Value

Type Default Description
String

String.Empty

The summary item’s name.

Remarks

To calculate a total or group summary in the Data Grid, add a DxDataGridSummaryItem object to the TotalSummary or GroupSummary collection. Use the Name property to identify the summary item.

<DxDataGrid Data="@Orders">
    @*...*@
    <TotalSummary>
        <DxDataGridSummaryItem Field=@nameof(Order.UnitPrice)
                               SummaryType=SummaryItemType.Sum
                               Name="TotalPrice"/>
    </TotalSummary>
</DxDataGrid>
See Also