DataGridCheckBoxColumn.GenerateEditingElement(DataGridCell, Object) Metoda

Definicja

Pobiera kontrolkę powiązaną CheckBox 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, która będzie zawierać wygenerowany element.

dataItem
Object

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

Zwraca

FrameworkElement

Nowa kontrolka pola wyboru powiązana z wartością właściwości kolumny Binding .

Dotyczy