Edit

Share via


DataGridColumn.GetCellContent Method

Definition

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 Microsoft.UI.Xaml.FrameworkElement GetCellContent (CommunityToolkit.WinUI.UI.Controls.DataGridRow dataGridRow);
member this.GetCellContent : CommunityToolkit.WinUI.UI.Controls.DataGridRow -> Microsoft.UI.Xaml.FrameworkElement
Public Function GetCellContent (dataGridRow As DataGridRow) As FrameworkElement

Parameters

dataGridRow
DataGridRow

Row to get the content for.

Returns

Microsoft.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 Microsoft.UI.Xaml.FrameworkElement GetCellContent (object dataItem);
member this.GetCellContent : obj -> Microsoft.UI.Xaml.FrameworkElement
Public Function GetCellContent (dataItem As Object) As FrameworkElement

Parameters

dataItem
Object

Row dataItem to get the content for.

Returns

Microsoft.UI.Xaml.FrameworkElement

The column's content for the provided row dataItem.

Applies to