corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridcustomfieldsorteventargsbase-1-75c03e9b.md
Gets or sets the result of a custom comparison.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
public int Result { get; set; }
Public Property Result As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value that specifies the custom comparison result.
|
When handling the CustomFieldSort event, the result of the custom comparison operation is set as follows:
Note
Set the PivotGridCustomFieldSortEventArgsBase<T>.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.
For more information, refer to the platform-specific events:
| WinForms | ASP.NET | ASP.NET MVC | WPF |
|---|---|---|---|
| CustomFieldSort | CustomFieldSort | CustomFieldSort | CustomFieldSort |
See Also
PivotGridCustomFieldSortEventArgsBase<T> Class