Skip to main content

CompareNodeValuesEventArgs(TreeListNode, TreeListNode, Object, Object, TreeListColumn, SortOrder, Int32) Constructor

Creates a new CompareNodeValuesEventArgs object.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.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