Class
DataGridCellInfo

Defines the abstraction of a cell within a RadDataGrid row. A grid cell is generally the intersection of a grid row and grid column.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class DataGridCellInfo

Inheritance: objectDataGridCellInfo

Constructors

DataGridCellInfo(object, DataGridColumn)

Initializes a new instance of the DataGridCellInfo class.

Declaration

cs-api-definition
public DataGridCellInfo(object item, DataGridColumn column)

Parameters

item

object

The item.

column

DataGridColumn

The column.

Properties

Column

Gets or sets the DataGridColumn instance associated with the cell.

Declaration

cs-api-definition
public DataGridColumn Column { get; set; }

Property Value

DataGridColumn

Item

Gets or sets the data item that represents the grid row.

Declaration

cs-api-definition
public object Item { get; set; }

Property Value

object

Value

Gets the current value represented by the corresponding grid cell. This is a shortcut to the GetValueForInstance(object) method.

Declaration

cs-api-definition
public object Value { get; }

Property Value

object

Methods

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides object.GetHashCode()