Back to Devexpress

PivotCustomFieldListSortEventArgs.Field2 Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcustomfieldlistsorteventargs-dot-field2.md

latest2.2 KB
Original Source

PivotCustomFieldListSortEventArgs.Field2 Property

Gets the second field to be compared.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public PivotGridField Field2 { get; }
vb
Public ReadOnly Property Field2 As PivotGridField

Property Value

TypeDescription
PivotGridField

A PivotGridField object that is the second field to be compared.

|

Remarks

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 Field2 properties. The folders being compared are specified by the PivotCustomFieldListSortEventArgs.Caption1 and PivotCustomFieldListSortEventArgs.Caption2 properties.

See Also

PivotCustomFieldListSortEventArgs Class

PivotCustomFieldListSortEventArgs Members

DevExpress.Xpf.PivotGrid Namespace