DataGrid.OnCanExecuteCommitEdit(CanExecuteRoutedEventArgs) 方法

定义

为与 CanExecute 命令关联的 CommitEditCommand 事件提供处理。

protected:
 virtual void OnCanExecuteCommitEdit(System::Windows::Input::CanExecuteRoutedEventArgs ^ e);
protected virtual void OnCanExecuteCommitEdit (System.Windows.Input.CanExecuteRoutedEventArgs e);
abstract member OnCanExecuteCommitEdit : System.Windows.Input.CanExecuteRoutedEventArgs -> unit
override this.OnCanExecuteCommitEdit : System.Windows.Input.CanExecuteRoutedEventArgs -> unit
Protected Overridable Sub OnCanExecuteCommitEdit (e As CanExecuteRoutedEventArgs)

参数

e
CanExecuteRoutedEventArgs

事件的数据。

适用于