aspnet-devexpress-dot-web-dot-gridcustomcolumnsorteventargs.md
Gets or sets the result of a custom comparison.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public int Result { get; set; }
Public Property Result As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value that specifies the result.
|
Find control-specific information (for ASPxGridView, ASPxCardView or ASPxVerticalGrid) in the sections below.
Use the Result property to set the result of the custom comparison of the two rows being processed. The row values within the column being processed are specified by the GridCustomColumnSortEventArgs.Value1 and GridCustomColumnSortEventArgs.Value2 properties.
When handling the ASPxGridView.CustomColumnSort event, the result must be set as follows:
When handling the ASPxGridView.CustomColumnGroup event, the result should be set as shown below:
Use the Result property to set the result of the custom comparison of the two cards being processed. The card values in the column being processed are specified by the GridCustomColumnSortEventArgs.Value1 and GridCustomColumnSortEventArgs.Value2 properties.
When handling the ASPxCardView.CustomColumnSort event, the result must be set as follows:
Use the Result property to set the result of the custom comparison of the two records being processed. The record values in the column being processed are specified by the GridCustomColumnSortEventArgs.Value1 and GridCustomColumnSortEventArgs.Value2 properties.
When handling the ASPxVerticalGrid.CustomRowSort event, the result must be set as follows:
See Also
GridCustomColumnSortEventArgs Class