CompareNodeValuesEventArgs.Node1 Property

Gets the node containing the first value involved in comparison.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public TreeListNode Node1 { get; }
Public ReadOnly Property Node1 As TreeListNode

Property Value

Type Description
TreeListNode

A TreeListNode object representing the node containing the first value involved in comparison.

Remarks

Values to compare are taken from the column against which data is about to be sorted. These values are transmitted as the CompareNodeValuesEventArgs.NodeValue1 and CompareNodeValuesEventArgs.NodeValue2 parameters.

The Tree List control enables you to implement more complex sorting algorithm. The nodes containing compared values are transmitted to the TreeList.CompareNodeValues event as Node1 and CompareNodeValuesEventArgs.Node2 parameters. Thus you can perform sorting with respect to node properties or values of several fields.

See Also