CompareNodeValuesEventArgs.NodeValue1 Property

Gets the first value involved in comparison.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public object NodeValue1 { get; }
Public ReadOnly Property NodeValue1 As Object

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