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

CompareNodeValuesEventArgs.Node1 Property

Gets the node containing the first value involved in comparison.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

public TreeListNode Node1 { get; }

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