CommandManager.CanExecute Attached Event

Definition

当调用 CanExecute(Object, IInputElement) 上的 RoutedCommand 方法并且未处理 PreviewCanExecute 事件时发生。Occurs when the CanExecute(Object, IInputElement) method on the RoutedCommand is called and the PreviewCanExecute event was not handled.

see AddCanExecuteHandler, and RemoveCanExecuteHandler
see AddCanExecuteHandler, and RemoveCanExecuteHandler
see AddCanExecuteHandler, and RemoveCanExecuteHandler

Remarks

路由事件信息Routed Event Information

标识符字段Identifier field CanExecuteEvent
路由策略Routing strategy 冒泡Bubbling
委托Delegate CanExecuteRoutedEventHandler

Applies to

See also