DataGridTemplateColumn.GenerateEditingElement(DataGridCell, Object) Método

Definición

Obtiene un elemento definido por CellEditingTemplate que se enlaza al valor de la propiedad Binding de la columna.

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

Parámetros

cell
DataGridCell

Celda que va a contener el elemento generado.

dataItem
Object

Elemento de datos representado por la fila que contiene la celda en cuestión.

Devoluciones

Nuevo elemento de edición que se enlaza al valor de la propiedad Binding de la columna.

Se aplica a