共用方式為


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

事件的資料。

適用於