DataGridColumn.GetCellContent DataGridColumn.GetCellContent DataGridColumn.GetCellContent DataGridColumn.GetCellContent Method

Definition

Gets the Content property value for a cell in the column.

Overloads

GetCellContent(Object) GetCellContent(Object) GetCellContent(Object) GetCellContent(Object)

Gets the Content property value for the cell at the intersection of this column and the row that represents the specified data item.

GetCellContent(DataGridRow) GetCellContent(DataGridRow) GetCellContent(DataGridRow)

Retrieves the Content property value for the cell at the intersection of this column and the specified row.

GetCellContent(Object) GetCellContent(Object) GetCellContent(Object) GetCellContent(Object)

Gets the Content property value for the cell at the intersection of this column and the row that represents the specified data item.

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

Parameters

dataItem
Object Object Object Object

The data item that is represented by the row that contains the intended cell.

Returns

The cell content; or null, if the cell is not found.

Exceptions

GetCellContent(DataGridRow) GetCellContent(DataGridRow) GetCellContent(DataGridRow)

Retrieves the Content property value for the cell at the intersection of this column and the specified row.

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

Parameters

dataGridRow
DataGridRow DataGridRow DataGridRow DataGridRow

The row that contains the intended cell.

Returns

The cell content; or null, if the cell is not found.

Exceptions

Applies to