DataGrid.OnCanExecuteDelete(CanExecuteRoutedEventArgs) 方法

定义

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

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

参数

e
CanExecuteRoutedEventArgs

事件的数据。

适用于