DataGridTemplateColumn.GenerateEditingElement(DataGridCell, Object) Metoda

Definicja

Pobiera element zdefiniowany przez CellEditingTemplate element powiązany z wartością właściwości kolumny Binding .

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

Parametry

cell
DataGridCell

Komórka zawierająca wygenerowany element.

dataItem
Object

Element danych reprezentowany przez wiersz zawierający docelową komórkę.

Zwraca

Nowy element edycji powiązany z wartością właściwości kolumny Binding .

Dotyczy