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(TreeListNode, TreeListNode, Object, Object, TreeListColumn, SortOrder, Int32) Constructor

In This Article

Creates a new CompareNodeValuesEventArgs object.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public CompareNodeValuesEventArgs(
    TreeListNode node1,
    TreeListNode node2,
    object nodeValue1,
    object nodeValue2,
    TreeListColumn column,
    SortOrder sortOrder,
    int result
)

#Parameters

Name Type Description
node1 TreeListNode

A TreeListNode object representing the node containing the first value involved in the comparison. This value is assigned to the CompareNodeValuesEventArgs.Node1 property.

node2 TreeListNode

A TreeListNode object representing the node that contains the second value involved in the comparison. This value is assigned to the CompareNodeValuesEventArgs.Node2 property.

nodeValue1 Object

An object representing the first value involved in the comparison. This value is assigned to the CompareNodeValuesEventArgs.NodeValue1 property.

nodeValue2 Object

An object representing the second value involved in the comparison. This value is assigned to the CompareNodeValuesEventArgs.NodeValue2 property.

column TreeListColumn

A TreeListColumn object representing the column against whose values the data will be sorted. This value is assigned to the CompareNodeValuesEventArgs.Column property.

sortOrder SortOrder

A SortOrder enumeration member representing the sort order to be applied. This value is assigned to the CompareNodeValuesEventArgs.SortOrder property.

result Int32

An integer value representing the comparison result. This value is assigned to the CompareNodeValuesEventArgs.Result property.

See Also