Edit

Bagikan melalui


DataGridHyperlinkColumn.GenerateElement(DataGridCell, Object) Method

Definition

Gets a read-only Hyperlink element that is bound to the column's ContentBinding property value.

protected:
 override System::Windows::FrameworkElement ^ GenerateElement(System::Windows::Controls::DataGridCell ^ cell, System::Object ^ dataItem);
protected override System.Windows.FrameworkElement GenerateElement (System.Windows.Controls.DataGridCell cell, object dataItem);
override this.GenerateElement : System.Windows.Controls.DataGridCell * obj -> System.Windows.FrameworkElement
Protected Overrides Function GenerateElement (cell As DataGridCell, dataItem As Object) As FrameworkElement

Parameters

cell
DataGridCell

The cell that will contain the generated element.

dataItem
Object

The data item represented by the row that contains the intended cell.

Returns

A new, read-only hyperlink element that is bound to the column's ContentBinding property value.

Applies to