DataGridColumn.GetCellContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetCellContent(DataGridRow) |
Returns the column's content for the provided row. |
GetCellContent(Object) |
Returns the column's content for the provided row dataItem. |
GetCellContent(DataGridRow)
Returns the column's content for the provided row.
public Windows.UI.Xaml.FrameworkElement GetCellContent (Microsoft.Toolkit.Uwp.UI.Controls.DataGridRow dataGridRow);
member this.GetCellContent : Microsoft.Toolkit.Uwp.UI.Controls.DataGridRow -> Windows.UI.Xaml.FrameworkElement
Public Function GetCellContent (dataGridRow As DataGridRow) As FrameworkElement
Parameters
- dataGridRow
- DataGridRow
Row to get the content for.
Returns
Windows.UI.Xaml.FrameworkElement
The column's content for the provided row.
Applies to
GetCellContent(Object)
Returns the column's content for the provided row dataItem.
public Windows.UI.Xaml.FrameworkElement GetCellContent (object dataItem);
member this.GetCellContent : obj -> Windows.UI.Xaml.FrameworkElement
Public Function GetCellContent (dataItem As Object) As FrameworkElement
Parameters
- dataItem
- Object
Row dataItem to get the content for.
Returns
Windows.UI.Xaml.FrameworkElement
The column's content for the provided row dataItem.