Back to Devexpress

CellKey Members

officefileapi-devexpress-dot-spreadsheet-dot-cellkey-dot-underscore-members.md

latest3.6 KB
Original Source

CellKey Members

A cell’s unique identifier within a workbook.

Constructors

NameDescription
CellKey(Int32, Int32, Int32)Initializes a new instance of the CellKey class with the specified settings.

Properties

NameDescription
ColumnIndexGets the index of the column that contains the current cell.
RowIndexGets the index of the row that contains the current cell.
SheetIdReturns the ID of the worksheet that contains the current cell.

Methods

NameDescription
CompareTo(CellKey)Compares the current cell key with another and returns an integer that indicates whether the current cell is closer to the upper left position of the first worksheet in a workbook compared with another.
Equals(CellKey)Determines whether the specified object is equal to the current CellKey instance.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether two cell keys are equal.
GetHashCode()Returns a number that identifies the object instance.
GetType()Gets the Type of the current instance. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToLong()Returns a number that uniquely identifies a cell in a workbook.
ToString()Returns a string representation of the cell key.

Operators

NameDescription
Equality(CellKey, CellKey) staticCompares two CellKey structures for equality.
Inequality(CellKey, CellKey) staticCompares two CellKey structures to determine whether they are not equal.

See Also

CellKey Struct

DevExpress.Spreadsheet Namespace