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 Class

Provides data for the TreeList.CompareNodeValues event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CompareNodeValuesEventArgs :
    EventArgs

#Remarks

The TreeList.CompareNodeValues event fires each time a pair of nodes is compared in order to arrange them in a specific order. Data for this event is provided by a CompareNodeValuesEventArgs object. Properties of this object allow you to obtain the following information:

The CompareNodeValuesEventArgs.Result property is used to specify the custom result of the comparison.

When the TreeList.CompareNodeValues event is raised, an instance of the CompareNodeValuesEventArgs class is automatically created, adjusted and transmitted to the handler.

#Inheritance

Object
EventArgs
CompareNodeValuesEventArgs
See Also