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.
Gets the Content property value for a cell in the column.
Overloads
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) |
Retrieves the Content property value for the cell at the intersection of this column and the specified row. |
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
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
dataItem
is null
.
Applies to
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
Public Function GetCellContent (dataGridRow As DataGridRow) As FrameworkElement
Parameters
- dataGridRow
- DataGridRow
The row that contains the intended cell.
Returns
The cell content; or null
, if the cell is not found.
Exceptions
dataGridRow
is null
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기