Struct GroupGridCell
Identifies a logical cell by adapter row index and grid column.
public readonly struct GroupGridCell : IEquatable<GroupGridCell>
- Implements
- Inherited Members
- Extension Methods
Constructors
GroupGridCell(int, GroupGridColumn)
Initializes a new instance of the GroupGridCell struct.
public GroupGridCell(int RowIndex, GroupGridColumn Column)
Parameters
RowIndexintThe adapter row index.
ColumnGroupGridColumnThe grid column.
Properties
Column
Gets the grid column.
public GroupGridColumn Column { get; }
Property Value
Empty
Gets an empty cell.
public static GroupGridCell Empty { get; }
Property Value
IsEmpty
Gets a value indicating whether this cell is empty.
public bool IsEmpty { get; }
Property Value
RowIndex
Gets the adapter row index.
public int RowIndex { get; }
Property Value
Methods
Equals(GroupGridCell)
Returns true when this instance is equal to another cell.
public bool Equals(GroupGridCell Other)
Parameters
OtherGroupGridCellThe other cell.
Returns
- bool
True if the cells are equal; otherwise, false.
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object Obj)
Parameters
Objobject
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Operators
operator ==(GroupGridCell, GroupGridCell)
Returns true when two cells are equal.
public static bool operator ==(GroupGridCell Left, GroupGridCell Right)
Parameters
LeftGroupGridCellThe left cell.
RightGroupGridCellThe right cell.
Returns
- bool
True if the cells are equal; otherwise, false.
operator !=(GroupGridCell, GroupGridCell)
Returns true when two cells are not equal.
public static bool operator !=(GroupGridCell Left, GroupGridCell Right)
Parameters
LeftGroupGridCellThe left cell.
RightGroupGridCellThe right cell.
Returns
- bool
True if the cells are not equal; otherwise, false.