New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents the position of an item in the RadTreeList hierarchy.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class TreeListHierarchyIndex : IEquatable<TreeListHierarchyIndex>

Inheritance: objectTreeListHierarchyIndex

Implements: IEquatable<TreeListHierarchyIndex>

Inherited Members object.ToString()object.Equals(object, object)object.ReferenceEquals(object, object)object.GetType()object.MemberwiseClone()

Constructors

C#
public TreeListHierarchyIndex()

Properties

Gets an integer value indicating the position of the item in the nested level.

C#
public int LevelIndex { get; set; }

Gets an integer value indicating on which level of the treelist hierarchy is the current item.

C#
public int NestedLevel { get; set; }

Methods

Checks whether a passed object is equal to the current one.

C#
public override bool Equals(object obj)
Parameters:objobject

An object to compare the current one to.

Returns:

bool

A boolean value indicating whether the two objects are equal.

Overrides: object.Equals(object)

Checks whether two objects of type TreeListHierarchyIndex are equal.

C#
public bool Equals(TreeListHierarchyIndex other)
Parameters:otherTreeListHierarchyIndex

A TreeListHierarchyIndex object to check for equality.

Returns:

bool

A boolean value indicating whether the two indexes are equal.

Implements: IEquatable<TreeListHierarchyIndex>.Equals(TreeListHierarchyIndex)

Serves as a hash function for the TreeListHierarchyIndex type.

C#
public override int GetHashCode()
Returns:

int

An integer value representing the hash for the current object.

Overrides: object.GetHashCode()

Operators

C#
public static bool operator !=(TreeListHierarchyIndex left, TreeListHierarchyIndex right)
Parameters:leftTreeListHierarchyIndexrightTreeListHierarchyIndexReturns:

bool

C#
public static bool operator ==(TreeListHierarchyIndex left, TreeListHierarchyIndex right)
Parameters:leftTreeListHierarchyIndexrightTreeListHierarchyIndexReturns:

bool