Intersoft ClientUI Documentation
AddPreviewCanExecuteHandler Method



The element to attach handler to.
The preview can execute handler.
Attaches the specified CanExecuteRoutedEventHandler to the specified element.
Syntax
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
) 

Parameters

element
The element to attach handler to.
handler
The preview can execute handler.
Requirements

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

See Also

Reference

CommandManager Class
CommandManager Members

Send Feedback