CommandManager.PreviewCanExecute CommandManager.PreviewCanExecute CommandManager.PreviewCanExecute Attached Event

定义

当调用 CanExecute(Object, IInputElement) 上的 RoutedCommand 方法时发生。Occurs when the CanExecute(Object, IInputElement) method on the RoutedCommand is called.

see AddPreviewCanExecuteHandler, and RemovePreviewCanExecuteHandler
see AddPreviewCanExecuteHandler, and RemovePreviewCanExecuteHandler
see AddPreviewCanExecuteHandler, and RemovePreviewCanExecuteHandler

注解

路由事件信息Routed Event Information

标识符字段Identifier field PreviewCanExecuteEvent
路由策略Routing strategy 隧道Tunneling
委托Delegate CanExecuteRoutedEventHandler

适用于

另请参阅