Class TreeNodeAdv.TreeRowIndexComparer
Comparer that allow to sort TreeNodeAdv classes by internal TreeRowIndex property value. Also can be used for binary searches.
Inheritance
System.Object
TreeNodeAdv.TreeRowIndexComparer
Implements
System.Collections.IComparer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools.MultiColumnTreeView
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public sealed class TreeRowIndexComparer : IComparer
Fields
Default
Get reference on statically created comparer.
Declaration
public static readonly IComparer Default
Field Value
| Type |
|---|
| System.Collections.IComparer |
Methods
Compare(Object, Object)
Compare TreeNodes by TreeRowIndex property value.
Declaration
public int Compare(object x, object y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | x | |
| System.Object | y |
Returns
| Type |
|---|
| System.Int32 |
Implements
System.Collections.IComparer