Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CompareNodeValuesEventArgs.Node2 Property

Gets the node containing the second value involved in comparison.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

public TreeListNode Node2 { get; }

#Property Value

Type Description
TreeListNode

A TreeListNode object representing the node that contains the second value involved in comparison.

#Remarks

Use the Node2 property to access the properties or data of the second node involved in comparison. The first node can be accessed via the CompareNodeValuesEventArgs.Node1 property. Accessing these nodes enables you to implement more complex sorting algorithms than comparing two values of the column being sorted. For instance, you may want to perform sorting based on values of several columns.

See Also