DataGridHyperlinkColumn.GenerateElement(DataGridCell, Object) DataGridHyperlinkColumn.GenerateElement(DataGridCell, Object) DataGridHyperlinkColumn.GenerateElement(DataGridCell, Object) DataGridHyperlinkColumn.GenerateElement(DataGridCell, Object) Method

Definición

Obtiene un elemento Hyperlink de solo lectura que se enlaza al valor de la propiedad ContentBinding de la columna.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

Parámetros

cell
DataGridCell DataGridCell DataGridCell DataGridCell

Celda que va a contener el elemento generado.The cell that will contain the generated element.

dataItem
Object Object Object Object

Elemento de datos representado por la fila que contiene la celda en cuestión.The data item represented by the row that contains the intended cell.

Devoluciones

Nuevo elemento de hipervínculo de solo lectura que está enlazado al valor de la propiedad ContentBinding de la columna.A new, read-only hyperlink element that is bound to the column's ContentBinding property value.

Se aplica a