Export (0) Print
Expand All

CommandManager.PreviewCanExecute Attached Event

Occurs when the CanExecute method on the RoutedCommand is called.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

See AddPreviewCanExecuteHandler, RemovePreviewCanExecuteHandler
<object CommandManager.PreviewCanExecute="CanExecuteRoutedEventHandler" .../>

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft