Aracılığıyla paylaş


DataGridColumn.GetCellContent Method (DataGridRow)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Function GetCellContent ( _
    dataGridRow As DataGridRow _
) As FrameworkElement
public FrameworkElement GetCellContent(
    DataGridRow dataGridRow
)

Parameters

Return Value

Type: System.Windows.FrameworkElement
The cell content.

Exceptions

Exception Condition
ArgumentNullException

dataGridRow is nulla null reference (Nothing in Visual Basic).

InvalidOperationException

This column has not been added to a DataGrid.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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