Export (0) Print
Expand All

DataGridColumn.GetCellContent Method (DataGridRow)

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

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public FrameworkElement GetCellContent(
	DataGridRow dataGridRow
)

Parameters

dataGridRow
Type: System.Windows.Controls.DataGridRow
The row that contains the intended cell.

Return Value

Type: System.Windows.FrameworkElement
The cell content.

ExceptionCondition
ArgumentNullException

dataGridRow is null.

InvalidOperationException

This column has not been added to a DataGrid.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft