DataGrid.OnCanExecuteCancelEdit(CanExecuteRoutedEventArgs) 方法

定义

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

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

参数

e
CanExecuteRoutedEventArgs

事件的数据。

适用于