Intersoft.Client.Framework.Input Namespace > CommandManager Class : AddPreviewCanExecuteHandler Method |
Public Shared Sub AddPreviewCanExecuteHandler( _ ByVal element As DependencyObject, _ ByVal handler As CanExecuteRoutedEventHandler _ )
Dim element As DependencyObject Dim handler As CanExecuteRoutedEventHandler CommandManager.AddPreviewCanExecuteHandler(element, handler)
public static void AddPreviewCanExecuteHandler( DependencyObject element, CanExecuteRoutedEventHandler handler )
public: static void AddPreviewCanExecuteHandler( DependencyObject^ element, CanExecuteRoutedEventHandler^ handler )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2