共用方式為


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

事件的資料。

適用於