DataGridComboBoxColumn.PrepareCellForEdit 方法

定义

当列中的单元格进入编辑模式时调用。

protected:
 override System::Object ^ PrepareCellForEdit(System::Windows::FrameworkElement ^ editingElement, System::Windows::RoutedEventArgs ^ editingEventArgs);
protected override object PrepareCellForEdit (System.Windows.FrameworkElement editingElement, System.Windows.RoutedEventArgs editingEventArgs);
override this.PrepareCellForEdit : System.Windows.FrameworkElement * System.Windows.RoutedEventArgs -> obj
Protected Overrides Function PrepareCellForEdit (editingElement As FrameworkElement, editingEventArgs As RoutedEventArgs) As Object

参数

editingElement
FrameworkElement

列为处于编辑模式的单元格显示的元素。

editingEventArgs
RoutedEventArgs

有关导致单元格进入编辑模式的用户笔势的信息。

返回

未编辑的值。

适用于