TreeListNodeSummaryItemCollection.Add(SummaryItemType, String) Method
In This Article
Creates a new TreeListNodeSummaryItemCollection and adds it to the current collection.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public TreeListSummaryItem Add(
SummaryItemType summaryType,
string fieldName
)
#Parameters
Name | Type | Description |
---|---|---|
summary |
Summary |
A Summary |
field |
String | A String value that specifies the name of the data source field whose values are used for summary calculation. |
#Returns
Type | Description |
---|---|
Tree |
A Tree |
See Also