DataGridCellInfo DataGridCellInfo DataGridCellInfo DataGridCellInfo Struct

Definition

Represents information about a specific cell in a DataGrid.

public value class DataGridCellInfo
public struct DataGridCellInfo
type DataGridCellInfo = struct
Public Structure DataGridCellInfo
Inheritance
DataGridCellInfoDataGridCellInfoDataGridCellInfoDataGridCellInfo

Remarks

This structure provides information about the cell and the data item associated with the cell. It is used instead of a reference to the actual DataGridCell container when the DataGrid gets a cell; for example, in the CurrentCell or SelectedCells properties.

Constructors

DataGridCellInfo(DataGridCell) DataGridCellInfo(DataGridCell) DataGridCellInfo(DataGridCell) DataGridCellInfo(DataGridCell)

Initializes a new instance of the DataGridCellInfo structure for the specified cell.

DataGridCellInfo(Object, DataGridColumn) DataGridCellInfo(Object, DataGridColumn) DataGridCellInfo(Object, DataGridColumn) DataGridCellInfo(Object, DataGridColumn)

Initializes a new instance of the DataGridCellInfo structure using the specified data item and column.

Properties

Column Column Column Column

Gets the column that contains the cell.

IsValid IsValid IsValid IsValid

Gets a value that indicates whether the structure holds valid information.

Item Item Item Item

Gets the data item for the row that contains the cell.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Indicates whether the specified object is equal to the current instance.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a hash code for the current DataGridCellInfo structure.

Operators

Equality(DataGridCellInfo, DataGridCellInfo) Equality(DataGridCellInfo, DataGridCellInfo) Equality(DataGridCellInfo, DataGridCellInfo) Equality(DataGridCellInfo, DataGridCellInfo)

Indicates whether two DataGridCellInfo instances are equal.

Inequality(DataGridCellInfo, DataGridCellInfo) Inequality(DataGridCellInfo, DataGridCellInfo) Inequality(DataGridCellInfo, DataGridCellInfo) Inequality(DataGridCellInfo, DataGridCellInfo)

Indicates whether two DataGridCellInfo instances are not equal.

Applies to