[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.CellReference

CellReference Struct

Represents a reference to a position of cell.

Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public struct CellReference : IComparable<CellReference>, IEquatable<CellReference>
Public Structure CellReference
    Implements IComparable(Of CellReference), IEquatable(Of CellReference)

Constructors

Name Description
CellReference(int, int)

Initializes a new instance of the Reference class.

Fields

Name Description
Empty

Empty CellReference instance.

Properties

Name Description
Column

Gets the column index.

Row

Gets the row index.

Methods

Name Description
CompareTo(CellReference)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Equals(CellReference)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

IsEmpty()

Determines whether this CellReference value is empty.

Offset(int, int)

Translates this CellReference by the specified amount.

ToString()

Returns a string that represents this reference.

Operators

Name Description
operator ==(CellReference, CellReference)

Returns whether two CellReference are equals.

implicit operator CellReference(CellReference)

Performs an implicit conversion from CellReference to CellReference.

implicit operator CellReference(CellReference)

Performs an implicit conversion from CellReference to CellReference.

operator !=(CellReference, CellReference)

Returns whether two CellReference are not equals.