DataGridTextColumn.GenerateEditingElement(DataGridCell, Object) DataGridTextColumn.GenerateEditingElement(DataGridCell, Object) DataGridTextColumn.GenerateEditingElement(DataGridCell, Object) DataGridTextColumn.GenerateEditingElement(DataGridCell, Object) Method

Definición

Obtiene un control TextBox que se enlaza al valor de la propiedad Binding de la columna.Gets a TextBox control that is bound to the column's Binding property value.

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 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 control de cuadro de texto que está enlazado al valor de la propiedad Binding de la columna.A new text box control that is bound to the column's Binding property value.

Se aplica a