共用方式為


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

事件的資料。

適用於