Back to Devexpress

TreeListNodeSummaryItemCollection.Add(SummaryItemType, String) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistnodesummaryitemcollection-dot-add-x28-devexpress-dot-data-dot-summaryitemtype-system-dot-string-x29.md

latest2.0 KB
Original Source

TreeListNodeSummaryItemCollection.Add(SummaryItemType, String) Method

Creates a new TreeListNodeSummaryItemCollection and adds it to the current collection.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TreeListSummaryItem Add(
    SummaryItemType summaryType,
    string fieldName
)
vb
Public Function Add(
    summaryType As SummaryItemType,
    fieldName As String
) As TreeListSummaryItem

Parameters

NameTypeDescription
summaryTypeSummaryItemType

A SummaryItemType enumeration value that specifies the aggregate function type.

| | fieldName | String |

A String value that specifies the name of the data source field whose values are used for summary calculation.

|

Returns

TypeDescription
TreeListSummaryItem

A TreeListSummaryItem with the specified aggregation function and field name.

|

See Also

TreeListNodeSummaryItemCollection Class

TreeListNodeSummaryItemCollection Members

DevExpress.Xpf.Grid Namespace