Table of Contents

Struct GroupGridCell

Namespace
Avalonia.Controls
Assembly
Tripous.Avalonia.Controls.dll

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

RowIndex int

The adapter row index.

Column GroupGridColumn

The grid column.

Properties

Column

Gets the grid column.

public GroupGridColumn Column { get; }

Property Value

GroupGridColumn

Empty

Gets an empty cell.

public static GroupGridCell Empty { get; }

Property Value

GroupGridCell

IsEmpty

Gets a value indicating whether this cell is empty.

public bool IsEmpty { get; }

Property Value

bool

RowIndex

Gets the adapter row index.

public int RowIndex { get; }

Property Value

int

Methods

Equals(GroupGridCell)

Returns true when this instance is equal to another cell.

public bool Equals(GroupGridCell Other)

Parameters

Other GroupGridCell

The 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

Obj object

Returns

bool

true if obj and 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

Left GroupGridCell

The left cell.

Right GroupGridCell

The 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

Left GroupGridCell

The left cell.

Right GroupGridCell

The right cell.

Returns

bool

True if the cells are not equal; otherwise, false.