Back to Devexpress

PivotGridGroup.RemoveAt(Int32) Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridgroup-dot-removeat-x28-system-dot-int32-x29.md

latest1.9 KB
Original Source

PivotGridGroup.RemoveAt(Int32) Method

Removes a field from the group by its index.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
public void RemoveAt(
    int index
)
vb
Public Sub RemoveAt(
    index As Integer
)

Parameters

NameTypeDescription
indexInt32

An integer value which specifies the index of the field to remove. If negative or exceeds the number of fields within the group, an exception is raised.

|

Remarks

The RemoveAt method removes the field with the specified index from the PivotGridGroup.Fields collection. To remove the specified field from the group, use the PivotGridGroup.Remove method.

See Also

Add(PivotGridFieldBase)

Clear()

PivotGridGroup Class

PivotGridGroup Members

DevExpress.XtraPivotGrid Namespace