Back to Devexpress

CompareNodeValuesEventArgs.NodeValue1 Property

windowsforms-devexpress-dot-xtratreelist-dot-comparenodevalueseventargs-dot-nodevalue1.md

latest2.4 KB
Original Source

CompareNodeValuesEventArgs.NodeValue1 Property

Gets the first value involved in comparison.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public object NodeValue1 { get; }
vb
Public ReadOnly Property NodeValue1 As Object

Property Value

TypeDescription
Object

An object representing the first value involved in comparison.

|

Remarks

Custom sorting is performed by giving you the ability to compare values of the column being sorted. You can access two values to be compared via the NodeValue1 and CompareNodeValuesEventArgs.NodeValue2 properties. The result of comparing these two values must be specified using the CompareNodeValuesEventArgs.Result property.

You can implement more complex sorting by accessing nodes that contain compared values. Use the CompareNodeValuesEventArgs.Node1 and CompareNodeValuesEventArgs.Node2 properties for this purpose.

See Also

NodeValue2

Node1

Node2

Result

CompareNodeValuesEventArgs Class

CompareNodeValuesEventArgs Members

DevExpress.XtraTreeList Namespace