Class RowColumnIndex
Holds the coordinates for a cell.
Inheritance
Namespace: Syncfusion.GridCommon.ScrollAxis
Assembly: Syncfusion.GridCommon.Portable.dll
Syntax
public sealed class RowColumnIndex : ValueType
  Constructors
RowColumnIndex(Int32, Int32)
Initializes a new instance of the RowColumnIndex struct.
Declaration
public RowColumnIndex(int rowIndex, int columnIndex)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | rowIndex | The row index.  | 
      
| System.Int32 | columnIndex | The column index.  | 
      
Properties
ColumnIndex
Gets or sets the column index.
Declaration
public int ColumnIndex { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The column index.  | 
      
Empty
Gets the empty instance with row index and column index set to System.Int32.MinValue.
Declaration
public static RowColumnIndex Empty { get; }
  Property Value
| Type | Description | 
|---|---|
| RowColumnIndex | The empty instance with row index and column index set to System.Int32.MinValue.  | 
      
IsEmpty
Gets a value indicating whether this instance is empty.
Declaration
public bool IsEmpty { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | True if this instance is empty, otherwise false.  | 
      
RowIndex
Gets or sets the row index.
Declaration
public int RowIndex { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The row index.  | 
      
Methods
Equals(Object)
Returns a boolean value indicating whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | Another object to compare to.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if   | 
      
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | A 32-bit signed integer that is the hash code for this instance.  | 
      
ToString()
Returns the type name with state of this instance.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | The type name with state of this instance.  | 
      
Operators
Equality(RowColumnIndex, RowColumnIndex)
Implements the operator == for comparing the given tow row column indexes.
Declaration
public static bool operator ==(RowColumnIndex rowColumnIndex1, RowColumnIndex rowColumnIndex2)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RowColumnIndex | rowColumnIndex1 | The row column index 1.  | 
      
| RowColumnIndex | rowColumnIndex2 | The row column index 2.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | The comparison result of the operator.  | 
      
Inequality(RowColumnIndex, RowColumnIndex)
Implements the operator != for comparing the given tow row column indexes.
Declaration
public static bool operator !=(RowColumnIndex rowColumnIndex1, RowColumnIndex rowColumnIndex2)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RowColumnIndex | rowColumnIndex1 | The row column index 1.  | 
      
| RowColumnIndex | rowColumnIndex2 | The row column index 2.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | The comparison result of the operator.  |