Skip to main content

PivotCustomFieldListSortEventArgs.Caption2 Property

Gets the second folder to be compared.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid


public string Caption2 { get; }

Property Value

Type Description

A System.String value which specifies the caption of the second folder to be compared.


Handle the PivotGridControl.CustomFieldListSort event to sort fields and folders located in the Field List. Use the PivotCustomFieldListSortEventArgs.Result property to set the result of the custom comparison of the two fields or folders being processed. The fields being processed are specified by the PivotCustomFieldListSortEventArgs.Field1 and PivotCustomFieldListSortEventArgs.Field2 properties. The folders being compared are specified by the PivotCustomFieldListSortEventArgs.Caption1 and Caption2 properties.

See Also