New to Telerik UI for WinFormsStart a free 30-day trial

Represents a position in the traverser

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridTraverser.GridTraverserPosition : IEquatable<GridTraverser.GridTraverserPosition>

Inheritance: objectGridTraverser.GridTraverserPosition

Implements: IEquatable<GridTraverser.GridTraverserPosition>

Constructors

Initializes a new instance of the GridTraverser.GridTraverserPosition class.

C#
public GridTraverserPosition(IHierarchicalRow rootRow, IHierarchicalRow hierarchyRow, object position, bool overDetailsRow, GridTraverser.TraversalModes mode)
Parameters:rootRowIHierarchicalRow

The root row.

hierarchyRowIHierarchicalRow

The hierarchy row.

positionobject

The position.

overDetailsRowbool

The over details row.

modeGridTraverser.TraversalModes

The mode.

Properties

Gets the hierarchy row.

C#
public IHierarchicalRow HierarchyRow { get; }
Property Value:

The hierarchy row.

Gets or sets the mode.

C#
public GridTraverser.TraversalModes Mode { get; set; }
Property Value:

The mode.

Gets the over details row.

C#
public bool OverDetailsRow { get; }
Property Value:

The over details row.

Gets the position.

C#
public object Position { get; }
Property Value:

The position.

Gets the root row.

C#
public IHierarchicalRow RootRow { get; }
Property Value:

The root row.

Methods

Determines whether the specified position is equal.

C#
public bool Equals(GridTraverser.GridTraverserPosition position)
Parameters:positionGridTraverser.GridTraverserPosition

The position.

Returns:

bool

Implements: IEquatable<GridTraverser.GridTraverserPosition>.Equals(GridTraverser.GridTraverserPosition)

Determines whether the specified object is equal to the current object.

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

The object to compare with the current object.

Returns:

bool

true if the specified object is equal to the current object; otherwise, false.

Overrides: object.Equals(object)

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()