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

CompareNodeValuesEventArgs.NodeValue1 Property

Gets the first value involved in comparison.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

public object NodeValue1 { get; }

Property Value

Type Description
Object

An object representing the first value involved in comparison.

Remarks

Custom sorting is performed by giving you the ability to compare values of the column being sorted. You can access two values to be compared via the NodeValue1 and CompareNodeValuesEventArgs.NodeValue2 properties. The result of comparing these two values must be specified using the CompareNodeValuesEventArgs.Result property.

You can implement more complex sorting by accessing nodes that contain compared values. Use the CompareNodeValuesEventArgs.Node1 and CompareNodeValuesEventArgs.Node2 properties for this purpose.

See Also