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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewRowInfoEnumerator.EnumeratorPosition : IEquatable<GridViewRowInfoEnumerator.EnumeratorPosition>

Inheritance: objectGridViewRowInfoEnumerator.EnumeratorPosition

Implements: IEquatable<GridViewRowInfoEnumerator.EnumeratorPosition>

Constructors

Initializes a new instance of the GridViewRowInfoEnumerator.EnumeratorPosition class.

C#
public EnumeratorPosition(GridViewRowInfoEnumerator.EnumeratorPosition position)
Parameters:positionGridViewRowInfoEnumerator.EnumeratorPosition

The position.

Initializes a new instance of the GridViewRowInfoEnumerator.EnumeratorPosition class.

C#
public EnumeratorPosition(IHierarchicalRow parent, int index)
Parameters:parentIHierarchicalRow

The parent.

indexint

The index.

Properties

Gets or sets the index.

C#
public int Index { get; set; }
Property Value:

The index.

Gets or sets the parent.

C#
public IHierarchicalRow Parent { get; set; }
Property Value:

The parent.

Gets the row.

C#
public GridViewRowInfo Row { get; }
Property Value:

The row.

Methods

Equalses the specified position.

C#
public bool Equals(GridViewRowInfoEnumerator.EnumeratorPosition position)
Parameters:positionGridViewRowInfoEnumerator.EnumeratorPosition

The position.

Returns:

bool

Implements: IEquatable<GridViewRowInfoEnumerator.EnumeratorPosition>.Equals(GridViewRowInfoEnumerator.EnumeratorPosition)

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()