Back to Devexpress

PivotFieldReferenceBase.MoveToEnd() Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotfieldreferencebase-b2b60d60.md

latest2.2 KB
Original Source

PivotFieldReferenceBase.MoveToEnd() Method

Moves the field to the last position within the collection which represents the PivotTable area where this field is currently shown.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void MoveToEnd()
vb
Sub MoveToEnd

Remarks

After you create a PivotTable report or load an existing pivot table, you can rearrange fields shown in a specific area of the PivotTable report. To do this, access the required field you wish to move by its name in the collection representing the appropriate PivotTable area where this field is currently shown, and then call one of the following PivotFieldReferenceBase methods.

MethodDescription
PivotFieldReferenceBase.MoveUpMoves the field one position up in the area.
PivotFieldReferenceBase.MoveDownMoves the field one position down in the area.
PivotFieldReferenceBase.MoveToBeginningMoves the field to the beginning of the area.
MoveToEndMoves the field to the end of the area.

See Also

PivotFieldReferenceBase Interface

PivotFieldReferenceBase Members

DevExpress.Spreadsheet Namespace