DataGridCellInfo Struktura

Definice

Představuje informace o konkrétní buňce v objektu DataGrid.

public value class DataGridCellInfo
public struct DataGridCellInfo
type DataGridCellInfo = struct
Public Structure DataGridCellInfo
Dědičnost
DataGridCellInfo

Poznámky

Tato struktura poskytuje informace o buňce a datové položce přidružené k buňce. Použije se místo odkazu na skutečný DataGridCell kontejner, když získá buňku DataGrid , například ve vlastnostech CurrentCell nebo SelectedCells .

Konstruktory

DataGridCellInfo(DataGridCell)

Inicializuje novou instanci DataGridCellInfo struktury pro zadanou buňku.

DataGridCellInfo(Object, DataGridColumn)

Inicializuje novou instanci DataGridCellInfo struktury pomocí zadané datové položky a sloupce.

Vlastnosti

Column

Získá sloupec, který obsahuje buňku.

IsValid

Získá hodnotu, která označuje, zda struktura obsahuje platné informace.

Item

Získá položku dat pro řádek, který obsahuje buňku.

Metody

Equals(Object)

Určuje, zda je zadaný objekt roven aktuální instanci.

GetHashCode()

Vrátí kód hash pro aktuální DataGridCellInfo strukturu.

Operátory

Equality(DataGridCellInfo, DataGridCellInfo)

Určuje, zda jsou si dvě DataGridCellInfo instance rovny.

Inequality(DataGridCellInfo, DataGridCellInfo)

Určuje, jestli si dvě DataGridCellInfo instance nejsou rovny.

Platí pro