Back to Devexpress

GridControl.GetGroupSummaryValue(Int32, GridSummaryItem) Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-dot-getgroupsummaryvalue-x28-system-dot-int32-devexpress-dot-xpf-dot-grid-dot-gridsummaryitem-x29.md

latest2.4 KB
Original Source

GridControl.GetGroupSummaryValue(Int32, GridSummaryItem) Method

Returns the specified group summary value displayed within the specified group row.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public object GetGroupSummaryValue(
    int rowHandle,
    GridSummaryItem item
)
vb
Public Function GetGroupSummaryValue(
    rowHandle As Integer,
    item As GridSummaryItem
) As Object

Parameters

NameTypeDescription
rowHandleInt32

An integer value that identifies the group row by its handle.

| | item | GridSummaryItem |

A GridSummaryItem object that represents the group summary item.

|

Returns

TypeDescription
Object

An object that represents the specified group summary value displayed within the specified group row.

|

Remarks

Group row handles are negative (start from -1 ). Group summary items are stored within the grid’s GridControl.GroupSummary collection.

To obtain a total summary value, use the DataControlBase.GetTotalSummaryValue method.

To learn more, see Data Summaries.

See Also

GroupSummary

GetTotalSummaryValue(SummaryItemBase)

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace