Skip to main content
A newer version of this page is available. .

CustomColumnSortEventArgs.Value2 Property

Gets the second value being compared.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public object Value2 { get; }

Property Value

Type Description
Object

An object representing the second value being compared.

Remarks

The CustomColumnSortEventArgs.Column property determines the column which contains the values (CustomColumnSortEventArgs.Value1 and CustomColumnSortEventArgs.Value2), being compared.

Use the CustomColumnSortEventArgs.ListSourceRowIndex1 and CustomColumnSortEventArgs.ListSourceRowIndex2 properties to identify the rows containing CustomColumnSortEventArgs.Value1 and CustomColumnSortEventArgs.Value2.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value2 property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also