DataGridCellInfo Struktura
Definicja
public value class DataGridCellInfo
public struct DataGridCellInfo
type DataGridCellInfo = struct
Public Structure DataGridCellInfo
- Dziedziczenie
Uwagi
Ta struktura zawiera informacje o komórce i elemencie danych skojarzonym z komórką.This structure provides information about the cell and the data item associated with the cell. Jest używany zamiast odwołania do rzeczywistego DataGridCell kontenera, gdy DataGrid Pobiera komórkę, na przykład w CurrentCell lub SelectedCells właściwości.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.
Konstruktory
DataGridCellInfo(DataGridCell) |
Inicjuje nowe wystąpienie DataGridCellInfo struktury dla określonej komórki.Initializes a new instance of the DataGridCellInfo structure for the specified cell. |
DataGridCellInfo(Object, DataGridColumn) |
Inicjuje nowe wystąpienie DataGridCellInfo struktury przy użyciu określonego elementu danych i kolumny.Initializes a new instance of the DataGridCellInfo structure using the specified data item and column. |
Właściwości
Column |
Pobiera kolumnę, która zawiera komórkę.Gets the column that contains the cell. |
IsValid |
Pobiera wartość wskazującą, czy struktura przechowuje prawidłowe informacje.Gets a value that indicates whether the structure holds valid information. |
Item |
Pobiera element danych dla wiersza, który zawiera komórkę.Gets the data item for the row that contains the cell. |
Metody
Equals(Object) |
Wskazuje, czy określony obiekt jest równy bieżącemu wystąpieniu.Indicates whether the specified object is equal to the current instance. |
GetHashCode() |
Zwraca kod skrótu dla bieżącej DataGridCellInfo struktury.Returns a hash code for the current DataGridCellInfo structure. |
Operatory
Equality(DataGridCellInfo, DataGridCellInfo) |
Wskazuje, czy dwa DataGridCellInfo wystąpienia są równe.Indicates whether two DataGridCellInfo instances are equal. |
Inequality(DataGridCellInfo, DataGridCellInfo) |
Wskazuje, czy dwa DataGridCellInfo wystąpienia nie są równe.Indicates whether two DataGridCellInfo instances are not equal. |