共用方式為


DataGrid.OnCanExecuteBeginEdit(CanExecuteRoutedEventArgs) 方法

定義

提供與 CanExecute 命令相關聯之 BeginEditCommand 事件的處理。

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

參數

e
CanExecuteRoutedEventArgs

事件的資料。

適用於