DataGridColumn.GetCellContent Metoda

Definicja

Content Pobiera wartość właściwości dla komórki w kolumnie.

Przeciążenia

GetCellContent(Object)

Content Pobiera wartość właściwości dla komórki na skrzyżowaniu tej kolumny i wiersza, który reprezentuje określony element danych.

GetCellContent(DataGridRow)

Content Pobiera wartość właściwości komórki na skrzyżowaniu tej kolumny i określonego wiersza.

GetCellContent(Object)

Content Pobiera wartość właściwości dla komórki na skrzyżowaniu tej kolumny i wiersza, który reprezentuje określony element danych.

public:
 System::Windows::FrameworkElement ^ GetCellContent(System::Object ^ dataItem);
public System.Windows.FrameworkElement GetCellContent (object dataItem);
member this.GetCellContent : obj -> System.Windows.FrameworkElement
Public Function GetCellContent (dataItem As Object) As FrameworkElement

Parametry

dataItem
Object

Element danych reprezentowany przez wiersz zawierający docelową komórkę.

Zwraca

FrameworkElement

Zawartość komórki; lub null, jeśli komórka nie zostanie znaleziona.

Wyjątki

dataItem to null.

Dotyczy

GetCellContent(DataGridRow)

Content Pobiera wartość właściwości komórki na skrzyżowaniu tej kolumny i określonego wiersza.

public:
 System::Windows::FrameworkElement ^ GetCellContent(System::Windows::Controls::DataGridRow ^ dataGridRow);
public System.Windows.FrameworkElement GetCellContent (System.Windows.Controls.DataGridRow dataGridRow);
member this.GetCellContent : System.Windows.Controls.DataGridRow -> System.Windows.FrameworkElement
Public Function GetCellContent (dataGridRow As DataGridRow) As FrameworkElement

Parametry

dataGridRow
DataGridRow

Wiersz zawierający docelową komórkę.

Zwraca

FrameworkElement

Zawartość komórki; lub null, jeśli komórka nie zostanie znaleziona.

Wyjątki

dataGridRow to null.

Dotyczy