wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcustomfieldsorteventargs-652d2a79.md
Gets or sets the result of a custom comparison.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public int Result { get; set; }
Public Property Result As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value specifying the custom comparison’s result.
|
In the PivotGridControl.CustomFieldSort event handler set the result of the custom comparison operation as follows:
Note
Values are sorted before grouping. If the values are equal (the e.Result is set to 0 ), they are in the same group.
Important
Set the e.Handled property to true to finalize the comparison and use the e.Result value. Otherwise, the default comparison is in effect and e.Result is ignored.
See Also
PivotCustomFieldSortEventArgs Class