DataGridCellInfo Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents information about a specific cell in a DataGrid.
public value class DataGridCellInfo
public struct DataGridCellInfo
type DataGridCellInfo = struct
Public Structure DataGridCellInfo
- Inheritance
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) |
Initializes a new instance of the DataGridCellInfo structure for the specified cell. |
DataGridCellInfo(Object, DataGridColumn) |
Initializes a new instance of the DataGridCellInfo structure using the specified data item and column. |
Properties
Column |
Gets the column that contains the cell. |
IsValid |
Gets a value that indicates whether the structure holds valid information. |
Item |
Gets the data item for the row that contains the cell. |
Methods
Equals(Object) |
Indicates whether the specified object is equal to the current instance. |
GetHashCode() |
Returns a hash code for the current DataGridCellInfo structure. |
Operators
Equality(DataGridCellInfo, DataGridCellInfo) |
Indicates whether two DataGridCellInfo instances are equal. |
Inequality(DataGridCellInfo, DataGridCellInfo) |
Indicates whether two DataGridCellInfo instances are not equal. |